Elementwise addition of two sparse vectors of the same length.
Usage
sparse_add(x, y, ...)
# S4 method for class 'sparse_numeric,sparse_numeric'
sparse_add(x, y, ...)
Arguments
- x, y
sparse_numeric objects.
- ...
Ignored; included for method compatibility.
Value
A sparse_numeric representing x + y.