IMSL C# Numerical Library

Matrix.Multiply Method (Double[,], Double[,])

Multiply two rectangular matrices, a * b.

public static double[,] Multiply(
   double[,] a,
   double[,] b
);

Parameters

a
A double rectangular matrix.
b
A double rectangular matrix.

Return Value

The double matrix product of a * b.

Exceptions

Exception Type Condition
ArgumentException is thrown when the number of columns in a is not equal to the number of rows in b

See Also

Matrix Class | Imsl.Math Namespace | Matrix.Multiply Overload List