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

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

Syntax

C#
public static double[] Multiply(
	double[] x,
	SparseMatrix A
)
Visual Basic (Declaration)
Public Shared Function Multiply ( _
	x As Double(), _
	A As SparseMatrix _
) As Double()
Visual C++
public:
static array<double>^ Multiply(
	array<double>^ x, 
	SparseMatrix^ A
)

Parameters

x
Type: array< System..::.Double >[]()[]
A double row array.
A
Type: Imsl.Math..::.SparseMatrix
A SparseMatrix matrix.

Return Value

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

Exceptions

ExceptionCondition
System..::.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