SyTen

◆ getCoordinate()

template<Rank rank>
Index syten::DenseImpl::getCoordinate ( Coord< rank > const &  coordinates,
Coord< rank > const &  dims 
)
inline

Given a set of coordinates and a set of dimensions, returns the offset into the dense tensor.

References syten::rank(), and SYTEN_ASSERT_DEBUG.

Referenced by syten::DenseTensor< rank, Scalar >::DenseTensor().

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