SyTen

◆ abs() [4/4]

template<Rank rank>
SRDef syten::abs ( TensorBlock< rank > const &  a)
inline

Gives some measure on the absolute value of the block.

The only guarantees are:

  • A zero-block Z (at least one of the CGC spaces or the reduced tensor is zero in all entries) has abs(Z) == 0.
  • A tensor block I with all dimensions of the reduced tensor and all dimensions of the CGC spaces 1 and all entries 1 has abs(I) == 1.

References abs(), syten::TensorBlock< rank >::c, syten::TensorBlock< rank >::m, and syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::standard().

+ Here is the call graph for this function: