Vector<T>.Subtract Method

Note: This API is now obsolete.
Subtracts the product of a matrix and a Vector<T> from this Vector<T>.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
[ObsoleteAttribute("Use the SubtractProductInPlace method instead.")]
public Vector<T> Subtract(
	Matrix<T> matrix,
	Vector<T> vector
)

Parameters

matrix  Matrix<T>
A Matrix<T>.
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