Template Function sequant::detail::stringify_expr¶
Defined in File utils.hpp
Function Documentation¶
-
template<typename Represent>
std::string sequant::detail::stringify_expr(const Expr &expr, std::string_view product_separator, Represent &&represent, std::string_view who)¶ Renders
exprin infix notation: sums asa + b, products as their scalar prefactor (if not 1) and factors joined byproduct_separator- Parameters:
- Throws:
Exception – if
exprcontains any other type of expression