Vector<T>.Subtract As Right Core Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
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. |