These functions operate on array locations and values to create contours and other interesting operations.
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)
|
|
| |||
|
|
| |||
|
|
|