Vector<T>.SubtractInPlace Method

Definition

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

Overload List

SubtractInPlace(T) Subtracts a constant value from the elements of this vector in-place.
SubtractInPlace(Vector<T>) Subtracts another vector from this vector in-place.

SubtractInPlace(T)

Subtracts a constant value from the elements of this vector in-place.
C#
public Vector<T> SubtractInPlace(
	T value
)

Parameters

value  T
The value to subtract.

Return Value

Vector<T>
A reference to this instance.

SubtractInPlace(Vector<T>)

Subtracts another vector from this vector in-place.
C#
public Vector<T> SubtractInPlace(
	Vector<T> vector
)

Parameters

vector  Vector<T>
The vector to subtract.

Return Value

Vector<T>
A reference to this instance.

Exceptions

ArgumentNullExceptionvector is null
DimensionMismatchException The length of vector does not equal the length of this instance.

See Also