Functions and Formulas
Layers
Layers
accumulatedstates
Accumulates the state flags of all cells in a tensor
Object accumulatedstates(Collection x)
Parameters
| x : | is the input tensor |
count
Returns the number of cells in a tensor
Object count(Collection x, Collection cmp=nothing)
Parameters
| x : | is the tensor to count |
| cmp : | value to compare the cells |
countinrange
Returns the number of values within a given range.
Object countinrange(Collection x, Collection min, Collection max)
Parameters
| x : | is the container for which you want to count the values. |
| min : | is the lower boundary of the range. The lower boundary is not included in the range. |
| max : | is the upper boundary of the range. The upper boundary is included in the range. |
extend
expands the dimension of the given object by 1
Object extend(Collection src, Collection dim, integer lev=""leafLevel"")
Parameters
| src : | is the soruce object with dimension n |
| dim : | is the dimension to add |
| lev : |
identicalrowscols
detects identical rows or columns in a matrix or tensor.
Object identicalrowscols(Collection x)
Parameters
| x : | is the matrix or tensor to be checked |
reduce
reduces the dimension of the given object by 1
Object reduce(Collection src, Object dim, integer mode=""reduce_to_median"")
Parameters
| src : | is the soruce object with dimension n |
| dim : | is the dimension to remove |
| mode : |
slice
Returns a section of a n-dimensional tensor with a dimension of n-1, e.g. a column of a matrix.
Object slice(Collection src, Object key, Object header=nothing, Object scope=nothing)
Parameters
| src : | is the tensor |
| key : | is the name of the selected element, e.g. the name of a column |
| header : | optional: the tree that contains the header elements. |
| scope : |
subset
Returns a part of a given source object, specified by a level descriptor for each dimension.
Object subset(Collection src, Object level=nothing)
Parameters
| src : | is the source object |
| level : | level descriptor (numeric, name of a item type or a vector) |
Feedback
Did you find what you needed?
If you have any further questions or suggestions to improve this page, please let us know: