ConstantMatrix<T>.MultiplyAndAddAsLeftFactorCore Method

Definition

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

Overload List

MultiplyAndAddAsLeftFactorCore(T, Vector<T>, T, TransposeOperation, Vector<T>, Vector<T>) Multiplies the matrix with a vector, adds the scaled result to another scaled vector, and returns the result.
MultiplyAndAddAsLeftFactorCore(T, Matrix<T>, T, TransposeOperation, Matrix<T>, TransposeOperation, Matrix<T>) Adds the scaled product of two matrices to another matrix.

MultiplyAndAddAsLeftFactorCore(T, Vector<T>, T, TransposeOperation, Vector<T>, Vector<T>)

Multiplies the matrix with a vector, adds the scaled result to another scaled vector, and returns the result.
C#
protected override Vector<T> MultiplyAndAddAsLeftFactorCore(
	T leftFactor,
	Vector<T> left,
	T productFactor,
	TransposeOperation transpose,
	Vector<T> rightFactor,
	Vector<T> result
)

Parameters

leftFactor  T
The scale factor for the vector.
left  Vector<T>
The vector in the left term of the addition.
productFactor  T
The scale factor for the product.
transpose  TransposeOperation
The transpose operation to perform on the linear operator before multiplying.
rightFactor  Vector<T>
The right factor of the product.
result  Vector<T>
The vector that is to hold the result. May be null.

Return Value

Vector<T>
A vector that is the sum of leftFactor times left and productFactor times the product of this matrix and rightFactor.

See Also