SyTen

◆ addF()

void syten::MPS::ParseOperator::addF ( std::stack< StackElement > &  s,
Lattice const &  lat,
Index const  position,
bool const  truncate 
)

Addition of two operators or two numbers: a_num b_num → a+b | a_opr b_opr → a+b

References std::stack< T >::pop(), std::stack< T >::size(), std::to_string(), std::stack< T >::top(), and syten::MPS::ParseOperator::StackElement::type.

Referenced by getFunction().

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