Matrix.Multiply Method (Double[],Double[,], Int32) |
Return the product of the row matrix x and the rectangular matrix a.
Namespace: Imsl.MathAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntaxpublic static double[] Multiply(
double[] x,
double[,] a,
int processors
)
Public Shared Function Multiply (
x As Double(),
a As Double(,),
processors As Integer
) As Double()
public:
static array<double>^ Multiply(
array<double>^ x,
array<double,2>^ a,
int processors
)
static member Multiply :
x : float[] *
a : float[,] *
processors : int -> float[]
Parameters
- x
- Type:System.Double[]
A double row matrix.
- a
- Type:System.Double[,]
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
Type:
Double[]
A
double vector representing the product of the arguments,
x*a.
ExceptionsException | Condition |
---|
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