SyTen

◆ DenseIter() [2/2]

template<Rank rank>
syten::DenseIter< rank >::DenseIter ( std::array< Index, rank > const &  dim_,
std::array< Index, rank > const &  ord_ 
)
inline

Ctor for nontrivial ordering.

Parameters
dim_dimensions of individual indices
ord_order of increase, ord_[rank-1] is the first index to be increased, then ord_[rank-2].

ord_[i] = i+1 for all i between 0 and rank-1 would be equivalent to the trivial ordering.