Array.maprow()

From ZCubes Wiki
Jump to navigation Jump to search


Array.maprow(Function|Array of Functions[,param1,param2,...])

This returns the result of each row of the Array being operated on by the function or array of functions passed. The parameters provided following the function/function array is passed to the function with each row as the first parameter. Used for aggregate functions or functions that apply on each row (such as a spreadsheet calculation).

Same as $$


|4,4,1..10|.maprow(COS)

0.5403023058681398 -0.4161468365471424 -0.9899924966004454 -0.6536436208636119
0.28366218546322625 0.9601702866503661 0.7539022543433046 -0.14550003380861354
-0.9111302618846769 -0.8390715290764524 0.5403023058681398 -0.4161468365471424
-0.9899924966004454 -0.6536436208636119 0.28366218546322625 0.9601702866503661

See Also

$

$$

Mapper