Array. $()

From ZCubes Wiki
Jump to navigation Jump to search

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