Multiply two matrices.

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

Syntax

C#
public static DoubleMatrix Multiply(
	DoubleMatrix A,
	DoubleMatrix B
)
Visual Basic (Declaration)
Public Shared Function Multiply ( _
	A As DoubleMatrix, _
	B As DoubleMatrix _
) As DoubleMatrix
Visual C++
public:
static DoubleMatrix^ Multiply(
	DoubleMatrix^ A, 
	DoubleMatrix^ B
)

Return Value

A matrix C where C[i,j] = A[i,j] * B[i,j].

Remarks

This method performs elementwise multiplication. See NMathFunctions.Product() for computing the matrix inner product.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.MismatchedSizeExceptionThrown if the two matrices do not have the same dimensions.

See Also