DenseMatrix<T>.AddProduct Method

Definition

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

AddProduct(DenseMatrix<T>, DenseMatrix<T>) Adds the product of two DenseMatrix<T> objects to this matrix.
Obsolete.
AddProduct(T, DenseMatrix<T>, DenseMatrix<T>) Adds a multiple of the product of two DenseMatrix<T> object to this matrix.
Obsolete.

AddProduct(DenseMatrix<T>, DenseMatrix<T>)

Note: This API is now obsolete.
Adds the product of two DenseMatrix<T> objects to this matrix.
C#
[ObsoleteAttribute("Use the AddProductInPlace method instead.")]
public DenseMatrix<T> AddProduct(
	DenseMatrix<T> matrix1,
	DenseMatrix<T> matrix2
)

Parameters

matrix1  DenseMatrix<T>
The first DenseMatrix<T>.
matrix2  DenseMatrix<T>
The second DenseMatrix<T>.

Return Value

DenseMatrix<T>
A reference to this matrix.

Remarks

This method uses the BLAS routine DGEMM.

Exceptions

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

-or-

matrix2 is null.

AddProduct(T, DenseMatrix<T>, DenseMatrix<T>)

Note: This API is now obsolete.
Adds a multiple of the product of two DenseMatrix<T> object to this matrix.
C#
[ObsoleteAttribute("Use the AddProductInPlace method instead.")]
public DenseMatrix<T> AddProduct(
	T factor,
	DenseMatrix<T> matrix1,
	DenseMatrix<T> matrix2
)

Parameters

factor  T
Multiplier for the matrix product.
matrix1  DenseMatrix<T>
The first DenseMatrix<T>.
matrix2  DenseMatrix<T>
The second DenseMatrix<T>.

Return Value

DenseMatrix<T>
A reference to this matrix.

Remarks

This method uses the BLAS routine DGEMM.

Exceptions

ArgumentNullExceptionmatrix1 is null.

-or-

matrix2 is null.

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

See Also