Multiply the rectangular matrix a and the column matrix x.

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

Syntax

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

Parameters

a
Type: array< System..::.Double ,2>[,](,)[,]
A double rectangular matrix.
x
Type: array< System..::.Double >[]()[]
A double column matrix.

Return Value

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

Exceptions

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