Loading [MathJax]/jax/output/SVG/config.js
SyTen
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

◆ validateCGCTensor()

template<Rank rank, typename Scalar >
bool syten::validateCGCTensor ( SparseTensor< rank, Scalar > const &  a)
inline

CGC tensors are supposed to give the identity whenever contracted with themselves over all but one leg.

We test this here explicitly for all legs. If everything is okay, return true, else, false.

References logGW(), prodS(), rank(), and validateCGCContraction().

+ Here is the call graph for this function: