◆ getTotalDim()

template<Rank rank>
Index syten::Tensor< rank >::getTotalDim ( Index  leg) const

Get the sum of the tensor-producted block dimensions on the specified leg.

Equivalent to getReducedDim() if only Abelian symmetries are used.

References syten::Tensor< rank >::b(), syten::hasMember(), and std::vector< T >::push_back().

Referenced by syten::dropDummy(), and syten::Tensor< rank >::getTotalDims().

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