Difference between revisions of "Array. $()"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "==Array Function Application With Mode== Array.$_(Mode, Function|Array of Functions[,param1,param2,...]) Mode can be value (value of the cell), valuebyrow (row values)...")
 
 
Line 1: Line 1:
 +
*[[ Z3 | << Z3 Home ]]
 +
*[[ Z%5E3_Language_Documentation | Z3 Language Documentation]]
 +
*[[ Z%5E3_Array_Manipulation_Member_Functions | Listing of Z3 Array Manipulation Member Functions]]
 +
 
==Array Function Application With Mode==  
 
==Array Function Application With Mode==  
  

Latest revision as of 05:52, 8 April 2020

Array Function Application With Mode

Array.$_(Mode, Function|Array of Functions[,param1,param2,...])

Mode can be

value (value of the cell),

valuebyrow (row values)

valuebycolumn (column values)

i (indices of the cell)

ir (row index)

ic (column index)


Example:

a=|4|.fillwith(1..100); b=a.__$("value",[SIN,COS])

0.8414709848078965 0.9092974268256817 0.1411200080598672 -0.7568024953079282

-0.9589242746631385 -0.27941549819892586 0.6569865987187891 0.9893582466233818

0.4121184852417566 -0.5440211108893698 -0.9999902065507035 -0.5365729180004349

0.4201670368266409 0.9906073556948704 0.6502878401571168 -0.2879033166650653