SyTen

◆ DenseIterDual()

template<Rank rank>
template<typename OrdType >
syten::DenseIterDual< rank >::DenseIterDual ( std::array< Index, rank > const &  dim_,
std::array< OrdType, 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.

References syten::DenseIterDual< rank >::alive, syten::DenseIterDual< rank >::cur, syten::DenseIterDual< rank >::dim, syten::DenseIterDual< rank >::factors, syten::rank(), and SYTEN_ASSERT.

+ Here is the call graph for this function: