Documentation of MARTY
A Modern ARtificial Theoretical phYsicist
Public Member Functions
mty::Generator Class Reference
Inheritance diagram for mty::Generator:
[legend]

Public Member Functions

 Generator (mty::GaugedGroup *t_group, mty::Irrep const &t_irrep, const std::string &t_name, const csl::Space *t_space)
 Constructor of a 1-indexed parent. More...
 
 Generator (mty::GaugedGroup *t_group, mty::Irrep const &t_irrep, const std::string &t_name, const std::vector< const csl::Space *> &t_space)
 Constructor of a n-indexed parent. More...
 
 Generator (mty::GaugedGroup *t_group, mty::Irrep const &t_irrep, const std::string &t_name, const std::vector< const csl::Space *> &t_space, const csl::Expr &t_tensor)
 Constructor of a n-indexed parent, with explicit tensor tensor. More...
 
 Generator (mty::GaugedGroup *t_group, mty::Irrep const &t_irrep, const std::string &t_name, const csl::Space *t_space, const csl::Expr &t_tensor)
 Constructor of a 1-indexed parent, with explicit tensor tensor. More...
 
template<class ... Args>
csl::Expr operator() (Args &&...args)
 
template<class ... Args>
csl::Expr operator() (const std::vector< int > &indices, Args &&...args)
 
template<class ... Args>
csl::Expr operator() (const std::vector< csl::Index > &indices, Args &&...args)
 

Constructor & Destructor Documentation

◆ Generator() [1/4]

mty::Generator::Generator ( mty::GaugedGroup t_group,
mty::Irrep const &  t_irrep,
const std::string &  t_name,
const csl::Space t_space 
)
inline

Constructor of a 1-indexed parent.

Parameters
t_groupGroup of the generator.
t_irrepIrreducible representation of the generator.
t_nameName of the parent.
t_spaceVector space in which the Index lives.

◆ Generator() [2/4]

mty::Generator::Generator ( mty::GaugedGroup t_group,
mty::Irrep const &  t_irrep,
const std::string &  t_name,
const std::vector< const csl::Space *> &  t_space 
)
inline

Constructor of a n-indexed parent.

Parameters
t_groupGroup of the generator.
t_irrepIrreducible representation of the generator.
t_nameName of the parent.
t_spaceList of the n spaces in which each index lives.

◆ Generator() [3/4]

mty::Generator::Generator ( mty::GaugedGroup t_group,
mty::Irrep const &  t_irrep,
const std::string &  t_name,
const std::vector< const csl::Space *> &  t_space,
const csl::Expr t_tensor 
)
inline

Constructor of a n-indexed parent, with explicit tensor tensor.

Parameters
t_groupGroup of the generator.
t_irrepIrreducible representation of the generator.
t_nameName of the parent.
t_spaceList of the n spaces in which each index lives.
t_tensorExplicit tensor. Must match exactly the shape given by the IndexStructure.

◆ Generator() [4/4]

mty::Generator::Generator ( mty::GaugedGroup t_group,
mty::Irrep const &  t_irrep,
const std::string &  t_name,
const csl::Space t_space,
const csl::Expr t_tensor 
)
inline

Constructor of a 1-indexed parent, with explicit tensor tensor.

Parameters
t_groupGroup of the generator.
t_irrepIrreducible representation of the generator.
t_nameName of the parent.
t_spaceVector space in which the index lives.
t_tensorExplicit tensor. Must match exactly the shape given by the IndexStructure.

The documentation for this class was generated from the following file: