TSparseMtx *Sub(TSparseMtx *sLeft, TSparseMtx *sRight);
Subract two sparse matrices.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | sLeft | TSparseMtx * | |
| 2 | sRight | TSparseMtx * |
Remarks:
Subtract each of Sparse2 elements from the corresponding elements in matrix Sparse1 (matrix subtraction). The results are stored in the calling sparse matrix. Size and TSparseMtx::Complex properties of the calling matrix are set implicitly to match Sparse1 and Sparse2 matrices.
See Also: TSparseMtx::Add
Declared in Dew::Math::TSparseMtx · Dew.Math/sparse.h · Cross-compiler