Matrix<T>.AddProductInPlace Method

Definition

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

Overload List

AddProductInPlace(Matrix<T>, Matrix<T>) Adds the product of two matrices to this matrix.
AddProductInPlace(Matrix<T>, TransposeOperation, Matrix<T>, TransposeOperation) Adds the product of two matrices to this matrix.

AddProductInPlace(Matrix<T>, Matrix<T>)

Adds the product of two matrices to this matrix.
C#
public Matrix<T> AddProductInPlace(
	Matrix<T> matrix1,
	Matrix<T> matrix2
)

Parameters

matrix1  Matrix<T>
The first matrix.
matrix2  Matrix<T>
The second matrix.

Return Value

Matrix<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.

AddProductInPlace(Matrix<T>, TransposeOperation, Matrix<T>, TransposeOperation)

Adds the product of two matrices to this matrix.
C#
public virtual Matrix<T> AddProductInPlace(
	Matrix<T> matrix1,
	TransposeOperation operation1,
	Matrix<T> matrix2,
	TransposeOperation operation2
)

Parameters

matrix1  Matrix<T>
The first matrix.
operation1  TransposeOperation
The operation to apply to matrix1 before multiplying.
matrix2  Matrix<T>
The second matrix.
operation2  TransposeOperation
The operation to apply to matrix2 before multiplying.

Return Value

Matrix<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