Adds the product of two GeneralMatrix objects to this GeneralMatrix.

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Function AddProduct ( _
	matrix1 As GeneralMatrix, _
	matrix2 As GeneralMatrix _
) As GeneralMatrix
C#
public GeneralMatrix AddProduct (
	GeneralMatrix matrix1,
	GeneralMatrix matrix2
)
C++
public:
GeneralMatrix^ AddProduct (
	GeneralMatrix^ matrix1, 
	GeneralMatrix^ matrix2
)

Parameters

matrix1 (Extreme.Mathematics.LinearAlgebra.GeneralMatrix)
The first GeneralMatrix.
matrix2 (Extreme.Mathematics.LinearAlgebra.GeneralMatrix)
The second GeneralMatrix.

Return Value

A reference to this GeneralMatrix.

Remarks

This method uses the BLAS routine DGEMM.

Exceptions

ExceptionCondition
DimensionMismatchException The dimensions of any of the three matrices involved in this operation are not compatible.
ArgumentNullExceptionmatrix1 is nullNothingnullptr.

-or-

matrix2 is nullNothingnullptr.