SDef syten::trace | ( | TensorBlock< 2 > const & | a | ) |
Calculates the trace of this block.
References syten::TensorBlock< rank >::c, syten::TensorBlock< rank >::eqTrans(), syten::TensorBlock< rank >::m, syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::standard(), SYTEN_ZERO_THRESHOLD, trace(), and underThreshold().