IMSL C# Numerical Library

SparseMatrix.Multiply Method (Double[], SparseMatrix)

Multiply row array x and sparse matrix A, x^TA.

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

Parameters

x
A double row array.
A
A SparseMatrix matrix.

Return Value

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

Exceptions

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

See Also

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