Difference between revisions of "Array.rcfunctions"

From ZCubes Wiki
Jump to navigation Jump to search
 
Line 33: Line 33:
 
ARRAY(4,4,0).deal(100).$CELLS([0,3,3,1],SIN)
 
ARRAY(4,4,0).deal(100).$CELLS([0,3,3,1],SIN)
 
ARRAY(4,4,0).deal(100).$C([1..3],SIN)
 
ARRAY(4,4,0).deal(100).$C([1..3],SIN)
 +
(MS(4)).$d (SIN)
  
 
</pre>
 
</pre>
 
  
 
==See Also==
 
==See Also==

Latest revision as of 03:52, 28 February 2022


Array.$C(Column Array to apply, Function/Array of Functions, Optional Parameters)

Apply function array with parameters to the list of columns.

Array.$R(Row Array to apply, Function/Array of Functions, Optional Parameters)

Apply function array with parameters to the list of rows.

Array.$CELLS(row column width height area, Function/Array of Functions, Optional Parameters)

Apply function array with parameters to the list Row/Column Area indices and width and height to apply (l,t,w,h).

Examples

|4|.$CELLS([1,1,2,3],"x+45-x*3")
z=[10000,2..3,12..16,20000]@PMT;
z.io().crosstab() 
// make these location, function array, parameter array
z.$C([2,2,2,3],SIN)
1..10.$C([2,2,2,3],SIN)
[1..10].$C([2,2,2,3],SIN)
ARRAY(4,4,0).deal().$C([2,2,2,3],SIN)
ARRAY(4,4,0).deal(100).$R(2,SIN)
ARRAY(4,4,0).deal(100).$C(2,SIN)
ARRAY(4,4,0).deal(100).$CELLS([0,3,1,4],SIN)
ARRAY(4,4,0).deal(100).$C(2,"x^2")
ARRAY(4,4,0).deal(100).$CELLS([0,3,1,2],SIN)
ARRAY(4,4,0).deal(100).$CELLS([0,3,3,1],SIN)
ARRAY(4,4,0).deal(100).$C([1..3],SIN)
(MS(4)).$d (SIN) 

See Also

$A

d