Difference between revisions of "Array.appendfunction()"

From ZCubes Wiki
Jump to navigation Jump to search
Line 6: Line 6:
 
==Array.appendfunction(Function|Array of Functions[,param1,param2,...]) ==
 
==Array.appendfunction(Function|Array of Functions[,param1,param2,...]) ==
  
Adds a column which the result of this function on the remaining row.
+
Adds a column which the result of this function on the remaining row. Works best when array is two dimensional.
  
 
[ [ 1,3,4 ] ].$$F(SUM)
 
[ [ 1,3,4 ] ].$$F(SUM)

Revision as of 11:32, 1 March 2017


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

Adds a column which the result of this function on the remaining row. Works best when array is two dimensional.

[ [ 1,3,4 ] ].$$F(SUM)

1 3 4 8

[ [1,3,4 ] ].$$F(SIN)

1 3 4 0.8414709848078965 0.1411200080598672 -0.7568024953079282