Array.xypanel()

Revision as of 11:49, 6 March 2017 by Joseph (talk | contribs) (Created page with "* << Z3 Home * Z3 Language Documentation * Z%5E3_Array_Manipulation_Member_Functions | Listing of Z3 Array Manipulation Member F...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

These functions operate on array locations and values to create contours and other interesting operations. Array Indices and XY Functions

Array.xypanel(Function, OffsetArray, ScaleArray,GiveIndicesAlso)

Returns the result of applying the Function/FunctionSet to each x,y location of the array, then offsets (adds) and scales the results with OffsetArray [default 0] and ScaleArray [default 1]. GiveIndicesAlso [default false] gives the x,y indices when outputting the result. DoCentering is by default.


MAGICSQUARE(3).xypanel()

-1 -1
-1 0
-1 1
0 -1
0 0
0 1
1 -1
1 0
1 1