Home > @josh-brown/vector > SparseMatrix > add
Implements matrix addition
Signature:
add(other: Matrix<S>): Matrix<S>;|
Parameter |
Type |
Description |
|---|---|---|
|
other |
Matrix<S> |
The matrix to add |
Returns:
Matrix<S>
The matrix sum
Home > @josh-brown/vector > SparseMatrix > add
Implements matrix addition
Signature:
add(other: Matrix<S>): Matrix<S>;|
Parameter |
Type |
Description |
|---|---|---|
|
other |
Matrix<S> |
The matrix to add |
Returns:
Matrix<S>
The matrix sum