Multiply two sparse matrices,  C \leftarrow AB.

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public static SparseMatrix Multiply(
	SparseMatrix A,
	SparseMatrix B
)
Visual Basic (Declaration)
Public Shared Function Multiply ( _
	A As SparseMatrix, _
	B As SparseMatrix _
) As SparseMatrix
Visual C++
public:
static SparseMatrix^ Multiply(
	SparseMatrix^ A, 
	SparseMatrix^ B
)

Parameters

A
Type: Imsl.Math..::.SparseMatrix
A SparseMatrix sparse matrix.
B
Type: Imsl.Math..::.SparseMatrix
A SparseMatrix sparse matrix.

Return Value

The SparseMatrix product AB of A and B.

Exceptions

ExceptionCondition
System..::.ArgumentException is thrown when the number of columns of matrix A is not equal to the number of rows of matrix B.

See Also