A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [integer]

For challenges involving the manipulation of integers.

1 question with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
189 views

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 ...