Difference between revisions of "Array.removeindices()"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "* << Z3 Home * Z3 Language Documentation * Z%5E3_Array_Manipulation_Member_Functions | Listing of Z3 Array Manipulation Member F...")
 
 
Line 12: Line 12:
 
MAGICSQUARE(5).removeindices(1,3)
 
MAGICSQUARE(5).removeindices(1,3)
  
{| class="wikitable"|-
+
{| class="wikitable"
 +
|-
 
| 3 || 16 || 9 || 22 || 15  
 
| 3 || 16 || 9 || 22 || 15  
 
|-
 
|-
Line 22: Line 23:
 
MAGICSQUARE(5).removeindices(1,3,4)
 
MAGICSQUARE(5).removeindices(1,3,4)
  
{| class="wikitable"|-
+
{| class="wikitable"
 +
|-
 
| 3 || 16 || 9 || 22 || 15  
 
| 3 || 16 || 9 || 22 || 15  
 
|-
 
|-

Latest revision as of 05:57, 8 May 2020

These functions operate on array locations and values to create contours and other interesting operations.

Array Indices and XY Functions

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

See Also

atindex

nodeindex