Vector<T>.AddProductInPlace(LinearOperator<T>, TransposeOperation, Vector<T>) Method

Adds the product of a matrix and a Vector<T> to this Vector<T>.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public Vector<T> AddProductInPlace(
	LinearOperator<T> matrix,
	TransposeOperation operation,
	Vector<T> vector
)

Parameters

matrix  LinearOperator<T>
A Matrix<T>.
operation  TransposeOperation
The operation to apply to matrix before multiplying.
vector  Vector<T>
A vector.

Return Value

Vector<T>
A reference to this instance.

Exceptions

ArgumentNullExceptionmatrix is null

-or-

vector is null

DimensionMismatchException The number of rows of matrix does not equal the length of this instance.

-or-

The number of columns of matrix does not equal the length of vector.

See Also