| NMathFunctionsProduct(FloatMatrix, FloatMatrix, FloatMatrix, ProductTransposeOption) Method |
Applies 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.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static void Product(
FloatMatrix A,
FloatMatrix B,
FloatMatrix C,
ProductTransposeOption transOpt
)
Public Shared Sub Product (
A As FloatMatrix,
B As FloatMatrix,
C As FloatMatrix,
transOpt As ProductTransposeOption
)
public:
static void Product(
FloatMatrix^ A,
FloatMatrix^ B,
FloatMatrix^ C,
ProductTransposeOption transOpt
)
static member Product :
A : FloatMatrix *
B : FloatMatrix *
C : FloatMatrix *
transOpt : ProductTransposeOption -> unit
Parameters
- A FloatMatrix
- First matrix operand.
- B FloatMatrix
- Second matrix operand.
- C FloatMatrix
- The resulting matrix product will be placed in C.
- transOpt ProductTransposeOption
- Option specifying which, if any, of the
matrix operands should be transposed before the matrix multiplication
is performed.
Return Value
The matrix product.
Exceptions 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