Questions tagged [integer]

For challenges involving the manipulation of integers.

1 question with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9 votes
0 answers

Fastest way to iterate over sublattice of discrete lattice

I need to construct a functor that iterates over the linear representation of a sub-lattice of size \$d_x,d_y,d_z,d_q\$ embedded in a lattice of size \$n_x,n_y,n_z,n_q\$. The sub-lattice corner is ...