IMSL C# Numerical Library

SparseMatrix.MultiplySymmetric Method 

Multiply sparse symmetric matrix A and column vector x.

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

Parameters

A
A SparseMatrix sparse symmetric matrix, where only the lower triangular part of the matrix is to be used.
x
A double vector.

Return Value

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

Exceptions

Exception Type Condition
ArgumentException is thrown when the input matrix is not square or 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