| Home | | | Quick start | | | Cookbook | | | All symbols | | | Analytical index | | | Namespaces | | | Syntax | | | Statements | | | CX | | | Frequency | | | Functions | | | Examples | | | Examples by command |
Symbols grouped by the ARRAY namespace.
Symbols in this namespace: 16
| Symbol | Kind | Category | Description |
|---|---|---|---|
ARRAY.COLUMN | Function | Array functions | Extracts one column from a 2D array and returns a 1D array. |
ARRAY.DIMS | Function | Array functions | Returns the number of dimensions. |
ARRAY.DIMSIZE | Function | Array functions | Returns the size of one zero-based dimension. |
ARRAY.EQUAL | Function | Array functions | Returns TRUE when two arrays have the same shape and equal values, with optional numeric tolerance. |
ARRAY.FROM_TEXT | Function | Array functions | Reads an array from ARRAY.TO_TEXT output or plain delimited rows. |
ARRAY.GET | Function | Array functions | Reads an array element. For vector-like 2D arrays n x 1 or 1 x n, one-index access is accepted: v[0] or ARRAY.GET(v,0). |
ARRAY.IS_ARRAY | Function | Array functions | Returns TRUE when the value is a script array. |
ARRAY.MAX | Function | Array functions | Returns the maximum numeric element. |
ARRAY.MEAN | Function | Array functions | Returns the mean of all numeric elements in the array. |
ARRAY.MIN | Function | Array functions | Returns the minimum numeric element. |
ARRAY.ROW | Function | Array functions | Extracts one row from a 2D array and returns a 1D array. |
ARRAY.SET | Function | Array functions | Writes an array element and returns the same array object. Vector-like 2D arrays n x 1 or 1 x n also accept one-index writes. |
ARRAY.SIZE | Function | Array functions | Returns the total number of elements. |
ARRAY.STDDEV | Function | Array functions | Returns the population standard deviation of all numeric elements. |
ARRAY.SUM | Function | Array functions | Returns the sum of all numeric elements in the array. |
ARRAY.TO_TEXT | Function | Array functions | Serializes a 1D/2D array to a compact CVB_ARRAY text block. |
ARRAY.COLUMN(array2d, column)
Extracts one column from a 2D array and returns a 1D array.
x = ARRAY.COLUMN(points, 0)ARRAY.DIMS(array)
Returns the number of dimensions.
value = ARRAY.DIMS(array)ARRAY.DIMSIZE(array, dimension)
Returns the size of one zero-based dimension.
value = ARRAY.DIMSIZE(array, dimension)ARRAY.EQUAL(a, b [, eps])
Returns TRUE when two arrays have the same shape and equal values, with optional numeric tolerance.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
eps | Optional parameter. If omitted, the command uses its internal default. |
value = ARRAY.EQUAL(a, b [, eps])ARRAY.FROM_TEXT(text [, delimiter [, numeric]])
Reads an array from ARRAY.TO_TEXT output or plain delimited rows.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
delimiter | CSV delimiter override; omit it for auto-detection where supported. |
numeric | When true, forces numeric conversion of CSV values. |
b = ARRAY.FROM_TEXT(ARRAY.TO_TEXT(a))ARRAY.GET(array, indexOrRow [, column]) or array[indexOrRow[,column]]
Reads an array element. For vector-like 2D arrays n x 1 or 1 x n, one-index access is accepted: v[0] or ARRAY.GET(v,0).
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
column | Optional parameter. If omitted, the command uses its internal default. |
indexOrRow | Optional parameter. If omitted, the command uses its internal default. |
value = ARRAY.GET(array, indexOrRow [, column]) or array[indexOrRow[,column]]ARRAY.IS_ARRAY(value)
Returns TRUE when the value is a script array.
value = ARRAY.IS_ARRAY(value)ARRAY.MAX(array)
Returns the maximum numeric element.
value = ARRAY.MAX(array)ARRAY.MEAN(array)
Returns the mean of all numeric elements in the array.
value = ARRAY.MEAN(array)ARRAY.MIN(array)
Returns the minimum numeric element.
value = ARRAY.MIN(array)ARRAY.ROW(array2d, row)
Extracts one row from a 2D array and returns a 1D array.
value = ARRAY.ROW(array2d, row)ARRAY.SET(array, index, value) or ARRAY.SET(array, row, column, value)
Writes an array element and returns the same array object. Vector-like 2D arrays n x 1 or 1 x n also accept one-index writes.
value = ARRAY.SET(array, index, value) or ARRAY.SET(array, row, column, value)ARRAY.SIZE(array)
Returns the total number of elements.
value = ARRAY.SIZE(array)ARRAY.STDDEV(array)
Returns the population standard deviation of all numeric elements.
value = ARRAY.STDDEV(array)ARRAY.SUM(array)
Returns the sum of all numeric elements in the array.
value = ARRAY.SUM(array)ARRAY.TO_TEXT(array [, delimiter])
Serializes a 1D/2D array to a compact CVB_ARRAY text block.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
delimiter | CSV delimiter override; omit it for auto-detection where supported. |
value = ARRAY.TO_TEXT(array [, delimiter])