enumerateTensorIndices d
This function generates all possible index tuples for a tensor with the specified dimensions. For a tensor of format $d_1 \times d_2 \cdots d_n$, it returns a list of all tuples $(i_1, i2, \ldots, i_n)$ where $0 \leq i_j < d_j$.
|
|
|
The object enumerateTensorIndices is a method function.
The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/GameTheory.m2:953:0.