Vector<T>.SubtractAsLeftCore(Vector<T>, Vector<T>) Method

Subtracts one vector from another.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
protected virtual Vector<T> SubtractAsLeftCore(
	Vector<T> right,
	Vector<T> result
)

Parameters

right  Vector<T>
The right operand of the subtraction.
result  Vector<T>
The vector that is to hold the result. May be null.

Return Value

Vector<T>
A vector whose elements are the difference between the corresponding elements of this vector and right.

Exceptions

DimensionMismatchException This vector and right do not have the same length.

See Also