| DoubleCsrSparseMatrixSubtract Method |
Subtracts two sparse matrices.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DoubleCsrSparseMatrix Subtract(
DoubleCsrSparseMatrix A,
DoubleCsrSparseMatrix B
)
Public Shared Function Subtract (
A As DoubleCsrSparseMatrix,
B As DoubleCsrSparseMatrix
) As DoubleCsrSparseMatrix
public:
static DoubleCsrSparseMatrix^ Subtract(
DoubleCsrSparseMatrix^ A,
DoubleCsrSparseMatrix^ B
)
static member Subtract :
A : DoubleCsrSparseMatrix *
B : DoubleCsrSparseMatrix -> DoubleCsrSparseMatrix
Parameters
- A DoubleCsrSparseMatrix
- A sparse matrix.
- B DoubleCsrSparseMatrix
- A sparse matrix.
Return Value
DoubleCsrSparseMatrixA sparse matrix
C where
C[i,j] = A[i,j] - B[i,j].
Exceptions See Also