Difference between revisions of "Array.at()"
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 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]] | ||
Latest revision as of 22:50, 1 February 2020
These functions operate on array locations and values to create contours and other interesting operations.
Array Indices and XY Functions
Array.at(Function, SubtractByArray, ScaleByArray,DoShowIndices)
Returns the result of applying the Function/FunctionSet to each value at the location of the array, then offsets (adds) and scales the results with SubtractByArray [default 0] and ScaleByArray [default 1]. DoShowIndices [default false] gives the x,y indices when outputting the result, and is opposite in behavior to Array.xy().
MAGICSQUARE(3).at()
|
|
| |||
|
|
| |||
|
|
|
MAGICSQUARE(3).at(SIN)
|
|
| |||
|
|
| |||
|
|
|