| NMathFunctionsProduct(DoubleCsrSparseMatrix, DoubleCsrSparseMatrix) Method |
Matrix inner product of two sparse matrices in compressed row (CSR) format. Result is
a sparse matrix in CSR format.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DoubleCsrSparseMatrix Product(
DoubleCsrSparseMatrix A,
DoubleCsrSparseMatrix B
)
Public Shared Function Product (
A As DoubleCsrSparseMatrix,
B As DoubleCsrSparseMatrix
) As DoubleCsrSparseMatrix
public:
static DoubleCsrSparseMatrix^ Product(
DoubleCsrSparseMatrix^ A,
DoubleCsrSparseMatrix^ B
)
static member Product :
A : DoubleCsrSparseMatrix *
B : DoubleCsrSparseMatrix -> DoubleCsrSparseMatrix
Parameters
- A DoubleCsrSparseMatrix
- A sparse matrix in CSR format.
- B DoubleCsrSparseMatrix
- A sparse matrix in CSR format.
Return Value
DoubleCsrSparseMatrixThe matrix inner product of
A and
B in CSR format.
Exceptions Exception | Condition |
---|
MismatchedSizeException | Thrown if the number of columns in A
is not equal to the number of rows in B. |
See Also