Click or drag to resize

NMathFunctionsProduct(DoubleMatrix, DoubleMatrix, ProductTransposeOption) Method

Applies the specified transpose option and computes the matrix inner product between the two given matrix operands.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static DoubleMatrix Product(
	DoubleMatrix A,
	DoubleMatrix B,
	ProductTransposeOption transOpt
)

Parameters

A  DoubleMatrix
First matrix operand.
B  DoubleMatrix
Second matrix operand.
transOpt  ProductTransposeOption
Option specifying which, if any, of the matrix operands should be transposed before the matrix multiplication is performed.

Return Value

DoubleMatrix
The matrix product.
Exceptions
ExceptionCondition
MismatchedSizeExceptionThrown if A and B do not have compatible dimensions.
Remarks
Let A and B matrices and let A' and B' denote the transposes of A and B, respectively. 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'
See Also