Array.removeindices()
Revision as of 04:57, 8 May 2020 by Devika (talk | contribs) (→Array.removeindices(List of indices))
These functions operate on array locations and values to create contours and other interesting operations.
Array.removeindices(List of indices)
Removes the indices indicated by the parameters. Basically gets the rows specified by the arguments.
MAGICSQUARE(5).removeindices(1,3)
3 | 16 | 9 | 22 | 15 |
7 | 25 | 13 | 1 | 19 |
11 | 4 | 17 | 10 | 23 |
MAGICSQUARE(5).removeindices(1,3,4)
3 | 16 | 9 | 22 | 15 |
7 | 25 | 13 | 1 | 19 |