Click or drag to resize

ComplexMatrixMultiply Operator (ReadOnlyDoubleMatrix, ComplexMatrix)

Determines the product of two matrices.

Namespace:  Novacta.Analytics
Assembly:  Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax
public static ComplexMatrix operator *(
	ReadOnlyDoubleMatrix left,
	ComplexMatrix right
)

Parameters

left
Type: Novacta.AnalyticsReadOnlyDoubleMatrix
The left operand.
right
Type: Novacta.AnalyticsComplexMatrix
The right operand.

Return Value

Type: ComplexMatrix
The result of multiplying left by right.
Exceptions
ExceptionCondition
ArgumentNullExceptionleft is null.
-or-
right is null.
ArgumentException Both left and right are not scalar matrices, and the number of columns of left is not equal to the number of rows of right.
Remarks

Let LaTeX equation and LaTeX equation be the left number of rows and columns, respectively, and consider its generic entry

LaTeX equation

Analogously, Let LaTeX equation and LaTeX equation be the right number of rows and columns, respectively, and let its generic entry given by

LaTeX equation

The method operates as follows.

  • If left is scalar, then the method returns a matrix having the same dimensions of right, whose generic entry is:

    LaTeX equation

  • If right is scalar, then the method returns a matrix having the same dimensions of left, whose generic entry is:

    LaTeX equation

  • If neither left nor right is scalar, then the method returns a matrix whose generic entry is

    LaTeX equation

    provided that the number of columns of left agrees with the number of rows of right; otherwise, an exception is thrown.

See Also