Open main menu
Home
Random
Log in
Settings
About ZCubes Wiki
Disclaimers
ZCubes Wiki
Search
Changes
← Older edit
Newer edit →
Array Indices and XY Functions
(view source)
Revision as of 16:38, 6 March 2017
432 bytes removed
,
16:38, 6 March 2017
no edit summary
Line 5:
Line 5:
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
(Function,SubtractByArray,ScaleByArray,DoNotShowIndices,RowArray) ==
+
[[
Array.indices()]]
−
−
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 ]
−
]
−
]
Joseph
Administrators
, writer
2,824
edits