in reply to Re^4: loop over n-dimensional lattice
in thread loop over n-dimensional lattice

Apologies if it muddled the question.

Not at all. It's just that you will have to represent your theoretical construct with an actual structure. If arrays work, they are cheaper in memory and performance than say hashes, which could probably also be used. But obviously, the mechanism for iterating a hash-based representation of your lattices, would require different coding methods.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."