DenseMatrix<T, TSlice, TStorage2D>.MultiplyAndAddAsRightFactorCore Method

Adds the scaled product of two matrices to another matrix.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
protected override Matrix<T> MultiplyAndAddAsRightFactorCore(
	T factor,
	Matrix<T> left,
	T productFactor,
	Matrix<T> leftFactor,
	TransposeOperation leftOperation,
	TransposeOperation rightOperation,
	Matrix<T>? result
)

Parameters

factor  T
The scale factor for the left operand of the addition.
left  Matrix<T>
The left operand of the addition.
productFactor  T
The scale factor for the matrix-matrix product.
leftFactor  Matrix<T>
A matrix that acts as the left operand of the multiplication.
leftOperation  TransposeOperation
The operation to be performed on leftFactor before multiplying.
rightOperation  TransposeOperation
The operation to be performed on this matrix before multiplying.
result  Matrix<T>
The matrix that is to hold the result. May be null.

Return Value

Matrix<T>
The sum of left with factor times the product of leftFactor transformed as specified by leftOperation with this matrix transformed as specified by rightOperation.

See Also