SyTen

◆ add() [1/3]

void syten::T3N::Lattice::add ( std::string const &  id,
std::string const &  desc,
Operator const &  op,
bool const  overwrite = false 
)

Add a global operator.

Parameters
idkey used in globalOperators
descfree-form string describing the operator
opMPO operator
overwriteset to true if you want to overwrite an existing operator

References globalOperators, syten::RepRegister::id(), std::make_pair(), and SYTEN_ASSERT.

Referenced by buildIdentity().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: