746 bytes added
, 16:35, 6 March 2017
*[[ Z3 | << Z3 Home ]]
*[[ Z%5E3_Language_Documentation | Z3 Language Documentation]]
*[[ Z%5E3_Array_Manipulation_Member_Functions | Listing of Z3 Array Manipulation Member Functions]]
These functions operate on array locations and values to create contours and other interesting operations.
==Array.indices(Function,SubtractByArray,ScaleByArray,DoNotShowIndices,RowArray) ==
Returns the result of applying the Function/FunctionSet to each x,y location of the array, then subtracts and scales the results with SubtractByArray and ScaleByArray. DoNotShowIndices suppresses the x,y indices when outputting the result.
[1,2,3].indices(SIN).print()
[
[
[0,0 ]
],
[
[1,0.8414709848078965 ]
],
[
[2,0.9092974268256817 ]
]
]