Click or drag to resize
SquareMatrixMultiply Operator (SquareMatrix, SquareMatrix)
Computes the product of two square matrices.

Namespace:  Meta.Numerics.Matrices
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 3.1.0.0 (3.1.0.0)
Syntax
public static SquareMatrix operator *(
	SquareMatrix A,
	SquareMatrix B
)

Parameters

A
Type: Meta.Numerics.MatricesSquareMatrix
The first matrix.
B
Type: Meta.Numerics.MatricesSquareMatrix
The second matrix.

Return Value

Type: SquareMatrix
The product A * B.
Exceptions
ExceptionCondition
ArgumentNullExceptionA or B is null.
DimensionMismatchExceptionThe dimension of A is not the same as the dimension of B.
Remarks

Note that matrix multiplication is not commutative, i.e. M1*M2 is generally not the same as M2*M1.

Matrix multiplication is an O(N3) process.

See Also