Matrix<T>.AddProductInPlace Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

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

ArgumentNullException

matrix1 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

ArgumentNullException

matrix1 is null.

-or-

matrix2 is null.

DimensionMismatchException

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

See Also