SquareMatrixMultiply(SquareMatrix, SquareMatrix) Operator

Computes the product of two square matrices.

Definition

Namespace: Meta.Numerics.Matrices
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static SquareMatrix operator *(
	SquareMatrix A,
	SquareMatrix B
)

Parameters

A  SquareMatrix
The first matrix.
B  SquareMatrix
The second matrix.

Return Value

SquareMatrix
The product A * 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.

Exceptions

ArgumentNullExceptionA or B is .
DimensionMismatchExceptionThe dimension of A is not the same as the dimension of B.

See Also