Function sequant::detail::dim_name¶
Defined in File utils.cpp
Function Documentation¶
-
std::string sequant::detail::dim_name(std::string space_dim, const Index &idx)¶
- Throws:
Exception – if
idxhas a basis instance andspace_dimends in_, which would make the name of a negative instance ambiguous- Returns:
the dimension name of the mode
idx:space_dimfollowed by_and basis_instance_tag(idx) ifidxhas a basis instance, since each basis has its own extent