IMSL C# Numerical Library

SparseMatrix.Multiply Method (SparseMatrix, Double[])

Multiply sparse matrix A and column array x, A x.

public static double[] Multiply(
   SparseMatrix A,
   double[] x
);

Parameters

A
A SparseMatrix matrix.
x
A double column array.

Return Value

A double vector representing the product of the arguments, A x.

Exceptions

Exception Type Condition
ArgumentException is thrown when the number of columns in the input matrix is not equal to the number of elements in the input column vector.

See Also

SparseMatrix Class | Imsl.Math Namespace | SparseMatrix.Multiply Overload List