|
inline |
Ctor for nontrivial ordering.
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.