Matrix Fill

accumulate

fills a vector by adding an input value to the value in the previous row of the vector. (f(i)=f(i-1)+x)

Collection accumulate(Object value, Object start, Object sort=nothing, boolean asc=true, Object , Object , Object =nothing, boolean =true)

groupby

Creates group index numbers from 1 to 3 for all values in the weight input column.

Collection groupby(Object weight, Object lo=0.333333, Object hi=0.666666, Object hi2=nothing, Object hi3=nothing, Object hi4=nothing)

limit

Limits the first argument to a given minimum and maximum

Collection limit(Collection value, Collection min, Collection max=nothing)

markselected

Inserts a given value into all cells of a matrix whose columns and rows are found in two collections of selected items.

Collection markselected(Collection matrix, Object sel0, Object sel1, Object val)

merge

returns either the first or second function argument depending on the state and value of the first argument

Collection merge(Collection x, Collection y, Collection v=nothing)

mirrorcustom

Completes a partially filled Automatrix (quadratic matrix) by filling empty cells with the inverse values of the corresponding transposed cells..

Collection mirrorcustom(Collection x, Collection lt, Collection eq, Collection gt)

mirrorneg

Completes a partially filled Automatrix (quadratic matrix) by filling empty cells with the negated values of the corresponding transposed cells.

Collection mirrorneg(Collection x)

mirrorreciprocal

Completes a partially filled automatrix (quadratic matrix) by filling empty cells with the inverse values of the corresponding transposed cells.

Collection mirrorreciprocal(Collection x, float total=0.0, boolean ahp=true)

scale

Maps the numbers in a container from an old to a new range.

Collection scale(Collection x, Numeric min1, Numeric max1, Numeric min2, Numeric max2)

selection

Enters the selection from an single or multivalued enumeration into a matrix or vector.

Collection selection(Collection x, Collection val)

shift

Creates a vector from the values of a given source vector. The rows of the new vector are shifted by a given offset.

Collection shift(Collection vector, integer offset)

Feedback

Did you find what you needed?

If you have any further questions or suggestions to improve this page, please let us know:

=