|
inline |
Adds a value at a point to the tensor if the supplied value is larger than SYTEN_ZERO_THRESHOLD.
coordinates | Indices of the value |
val | value to add |
Either adds val
to an existing element or creates a new element.
References syten::SparseTensor< rank, Scalar >::normSquaredVld, syten::overThreshold(), and SYTEN_ZERO_THRESHOLD.