SyTen

◆ validateProductSpecifier()

template<Rank frank, Rank srank>
void syten::DenseProduct::validateProductSpecifier ( [[maybe_unused] ] std::array< int, frank > const &  c_a,
[[maybe_unused] ] std::array< int, srank > const &  c_b,
[[maybe_unused] ] int  summed = 0 
)
inline

Validates a pair of product specifiers.

Given two input arrays c_a and c_b, it checks that they define a valid product, i.e. no elements are too large or too small etc.

References syten::hasMember(), and std::vector< T >::push_back().

Referenced by syten::TensorProd::prod_impl(), syten::CudaDenseTensorImpl::prodD(), and syten::prodD().

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