Applys the specified transpose option and computes the matrix inner product between the two given matrix operands and places the result in a third matrix.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public static void Product(
	DoubleComplexMatrix A,
	DoubleComplexMatrix B,
	DoubleComplexMatrix C,
	ProductTransposeOption transOpt
)
Visual Basic (Declaration)
Public Shared Sub Product ( _
	A As DoubleComplexMatrix, _
	B As DoubleComplexMatrix, _
	C As DoubleComplexMatrix, _
	transOpt As ProductTransposeOption _
)
Visual C++
public:
static void Product(
	DoubleComplexMatrix^ A, 
	DoubleComplexMatrix^ B, 
	DoubleComplexMatrix^ C, 
	ProductTransposeOption transOpt
)

Parameters

A
Type: CenterSpace.NMath.Core..::.DoubleComplexMatrix
First matrix operand.
B
Type: CenterSpace.NMath.Core..::.DoubleComplexMatrix
Second matrix operand.
C
Type: CenterSpace.NMath.Core..::.DoubleComplexMatrix
The resulting matrix product will be placed in C.
transOpt
Type: CenterSpace.NMath.Core..::.ProductTransposeOption
Option specifying which, if any, of the matrix operands should be transposed or conjugate transposed before the matrix multiplication is performed.

Return Value

The matrix product.

Remarks

Let A and B matrices and let A' and B' denote the transposes of A and B, respectively, and let conj(A) denote the matrix obtianed from A by taking the complex conjucate of each element of A. Then the transpose option has the following meanings for the computed matrix product: ProductTransposeOption.TransposeBoth - A'B' ProductTransposeOption.TransposeFirst - A'B ProductTransposeOption.TransposeNone - AB ProductTransposeOption.TransposeSecond - AB' ProductTransposeOption.ConjTransposeBoth - conj(A')conj(B') ProductTransposeOption.ConjTransposeFirst - conj(A')B ProductTransposeOption.ConjTransposeSecond - Aconj(B')

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.MismatchedSizeExceptionThrown if A and B do not have compatible dimensions.

See Also