Vector<T>.Subtract As Left Core Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Overload List
Subtract | Subtracts a constant from a vector. |
Subtract | Subtracts one vector from another. |
SubtractAsLeftCore(T, Vector<T>)
Subtracts a constant from a vector.
protected virtual Vector<T> SubtractAsLeftCore(
T value,
Vector<T>? result
)
Parameters
Return Value
Vector<T>A vector whose elements are the difference between the corresponding elements of this vector and value.
SubtractAsLeftCore(Vector<T>, Vector<T>)
Subtracts one vector from another.
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
Dimension | This vector and right do not have the same length. |