Vector<T>.SubtractProductInPlace Method

Subtracts the product of a matrix and a Vector<T> from this Vector<T>.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public Vector<T> SubtractProductInPlace(
	LinearOperator<T> matrix,
	Vector<T> vector
)

Parameters

matrix  LinearOperator<T>
A Matrix<T>.
vector  Vector<T>
A vector.

Return Value

Vector<T>
A reference to this instance.

Exceptions

ArgumentNullException

matrix 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