Vector<T>.Subtract As Right Core Method
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Subtract | Subtracts a vector from a constant. |
Subtract | Subtracts one vector from another. |
SubtractAsRightCore(T, Vector<T>)
Subtracts a vector from a constant.
protected virtual Vector<T> SubtractAsRightCore(
T left,
Vector<T> result
)
Parameters
Return Value
Vector<T>A vector whose elements are the difference between the corresponding elements of this vector and left.
SubtractAsRightCore(Vector<T>, Vector<T>)
Subtracts one vector from another.
protected virtual Vector<T> SubtractAsRightCore(
Vector<T> left,
Vector<T> result
)
Parameters
- left Vector<T>
- The left 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 left.
Exceptions
Dimension | This vector and left do not have the same length. |