Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
in-core functional assignments (for vector and matrices)
mxA :=
{ (x) => x * x}
mxA :=
mxA ::={ (x) => ... }
mxA ::={ (row, col, x}
=> ...}
vec :=
vec :={ (idx, x) => ..}
vec ::= { (x) => ...}
vec ::=
{ (ind, x) => ...}the `:=` assignmentn applies the function to all elements of tensor.
the `::=` assignment ignores zero elements of the tensor to improve performance.
matrix functions iterations use matrix structural flavor to optimize traversal.
further examples.
mxA := exp _ (in-place exponent)
v ::= abs _