SyTen

◆ sanity_check_bases()

void syten::STensorImpl::STensor::sanity_check_bases ( ) const
private

Asserts that basis and fermionic order length and basis directions match the underlying stored tensor.

References bases, std::vector< T >::begin(), std::vector< T >::end(), fermionic_order, std::iota(), std::is_permutation(), rank(), std::vector< T >::size(), SYTEN_ASSERT_MSG, and visnz().

Referenced by set_bases(), and STensor().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: