Difference between revisions of "Array.appendfunction()"

From ZCubes Wiki
Jump to navigation Jump to search
(Array.appendfunction)
 
 
(3 intermediate revisions by one other user not shown)
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)
 +
 
 +
{| class="wikitable"|-
 +
| 1 || 3 || 4 || 8
 +
|}
 +
 
 +
[ [1,3,4 ] ].$$F(SIN)
 +
 
 +
{| class="wikitable"|-
 +
| 1 || 3 || 4 || 0.8414709848078965 || 0.1411200080598672 || -0.7568024953079282
 +
|}
 +
 
 +
==See Also==
 +
[[Array.extract() |extract]]
 +
 
 +
[[Array.accumulatewith() |accumulatewith]]

Latest revision as of 04:01, 30 April 2020


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

See Also

extract

accumulatewith