|
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] . |
fixed_ | if fixed[i] = dim_[i] , the i -th index runs from 0 to dim_[i] . Otherwise, the i -th index is kept at value fixed_[i] . |
ord_[i] = i+1
for all i
between 0
and rank-1
would be equivalent to the trivial ordering.
References syten::DenseIterRestricted< rank >::alive, syten::DenseIterRestricted< rank >::cur, syten::DenseIterRestricted< rank >::dim, syten::DenseIterRestricted< rank >::ptrs, and syten::rank().