| 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
)
Public Shared Operator * (
left As ReadOnlyDoubleMatrix,
right As ComplexMatrix
) As ComplexMatrix
public:
static ComplexMatrix^ operator *(
ReadOnlyDoubleMatrix^ left,
ComplexMatrix^ right
)
static let inline (*)
left : ReadOnlyDoubleMatrix *
right : ComplexMatrix : ComplexMatrix
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 Exception | Condition |
---|
ArgumentNullException | left 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 and
be the left
number of rows and columns, respectively, and consider its generic entry
Analogously, Let and
be the right
number of rows and columns, respectively, and let its generic entry given by
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:
-
If right is scalar, then the method returns a matrix
having the same dimensions of left, whose generic
entry is:
-
If neither left nor right is
scalar, then the method returns a matrix
whose generic entry is
provided that the number of columns of left agrees
with the number of rows of right; otherwise, an exception
is thrown.
See Also