SyTen

◆ checkValidity()

void syten::T3N::RDMs::OrbRDM::checkValidity ( STensor const &  t)
staticprivate

Checks that argument is a valid density matrix.

References syten::closeThreshold(), syten::Cuda::copy(), syten::STensorImpl::ferm_trace(), syten::herm(), if_constexpr, syten::nan, syten::T3N::normSqd(), SYTEN_ASSERT_MSG, SYTEN_SMALL_THRESHOLD, SYTEN_TENSOR_RANK, and syten::underThreshold().

+ Here is the call graph for this function: