SyTen

◆ is_trivial_order_b()

template<Rank rank>
bool syten::DenseProduct::is_trivial_order_b ( std::array< Index, rank > const &  dims,
std::array< int, rank > const &  c_b 
)

Returns true if the tensor as specified by its dimensions and contraction specifier does not have to be transposed to be usable in a TTGT-based tensor transposition if it is the second tensor to be contracted.

References std::all_of(), syten::LimVec< Type, max, MaxType, type >::begin(), syten::LimVec< Type, max, MaxType, type >::end(), std::is_sorted(), syten::LimVec< Type, max, MaxType, type >::push_back(), syten::rank(), and syten::LimVec< Type, max, MaxType, type >::size().

Referenced by impl(), syten::CudaDenseTensorImpl::prodD(), and syten::prodD().

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