Difference between revisions of "Array.nodeindex()"

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...")
 
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
  
 
These functions operate on array locations and values to create contours and other interesting operations.
 
These functions operate on array locations and values to create contours and other interesting operations.
 +
 
[[Array Indices and XY Functions]]
 
[[Array Indices and XY Functions]]
  
Line 11: Line 12:
  
 
Same as [[Array.indices()]] but intended to get the nodeindex only.
 
Same as [[Array.indices()]] but intended to get the nodeindex only.
 +
 +
 +
MAGICSQUARE(3).nodeindex()
 +
 +
{| class="wikitable"|-
 +
|
 +
{| class="wikitable"|-
 +
| 0 || 0
 +
|}
 +
||
 +
{| class="wikitable"|-
 +
| 0 || 1
 +
|}
 +
||
 +
{| class="wikitable"|-
 +
| 0 || 2
 +
|}
 +
 +
|-
 +
|
 +
{| class="wikitable"|-
 +
| 1 || 0
 +
|}
 +
||
 +
{| class="wikitable"|-
 +
| 1 || 1
 +
|}
 +
||
 +
{| class="wikitable"|-
 +
| 1 || 2
 +
|}
 +
 +
|-
 +
|
 +
{| class="wikitable"|-
 +
| 2 || 0
 +
|}
 +
||
 +
{| class="wikitable"|-
 +
| 2 || 1
 +
|}
 +
||
 +
{| class="wikitable"|-
 +
| 2 || 2
 +
|}
 +
 +
|}

Latest revision as of 22:53, 1 February 2020

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

Array Indices and XY Functions

Array.nodeindex()

Simply gives the indices of the node.

Same as Array.indices() but intended to get the nodeindex only.


MAGICSQUARE(3).nodeindex()

0 0
0 1
0 2
1 0
1 1
1 2
2 0
2 1
2 2