Return the product of the row matrix x and the rectangular matrix a.

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

Syntax

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

Parameters

x
Type: array< System..::.Double >[]()[]
A double row matrix.
a
Type: array< System..::.Double ,2>[,](,)[,]
A double rectangular matrix.
processors
Type: System..::.Int32
An int which specifies the number of processors to use. If processors is less than 1, then processors = 1 is used.

Return Value

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

Exceptions

ExceptionCondition
System..::.ArgumentException is thrown when the number of elements in the input row matrix is not equal to the number of rows of the matrix

See Also