SyTen

◆ check_dense_dims()

template<Rank frank, Rank srank>
void syten::DenseProduct::check_dense_dims ( std::array< Index, frank > const &  dimA,
std::array< Index, srank > const &  dimB,
std::array< int, frank > const &  c_a,
std::array< int, srank > const &  c_b 
)

Asserts that the dimensions of two tensors, as described by dimA and dimB, are compatible with hte product described in c_a and c_b.

References std::array< T >::size(), and SYTEN_ASSERT_MSG.

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: