SyTen

◆ is_identity()

template<Rank rank, typename Scalar = SDef>
bool syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::is_identity ( ) const
inline

Returns true if the stored dense tensor is an identity dense tensor (IdentityDenseTensor).

References syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::storage.