SyTen

◆ dim() [2/2]

template<Rank rank, typename Scalar = CDef>
Index syten::SparseTensor< rank, Scalar >::dim ( Index  which) const
inline

Returns the dimension of the which-th leg.

References syten::SparseTensor< rank, Scalar >::FullData::dims, syten::SparseTensor< rank, Scalar >::fullData, syten::rank(), syten::SparseTensor< rank, Scalar >::singleton, and SYTEN_ASSERT_DEBUG.

Referenced by syten::dropDummy(), syten::isParallel(), syten::makeIdentity(), syten::multi_transpose(), syten::prodS(), and syten::validateCGCContraction().

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