Vector<T>.Greater Than Core Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Greater | Checks if the elements of one vector are greater than a constant. |
Greater | Checks if the elements of one vector are greater than the corresponding elements of another vector. |
GreaterThanCore(T, Vector<Boolean>)
Checks if the elements of one vector are greater than a constant.
protected virtual Vector<bool> GreaterThanCore(
T right,
Vector<bool>? result
)
Parameters
Return Value
Vector<Boolean>A boolean vector whose elements are true if the corresponding element in this vector is greater than right, and false otherwise.
GreaterThanCore(Vector<T>, Vector<Boolean>)
Checks if the elements of one vector are greater than the corresponding elements
of another vector.
protected virtual Vector<bool> GreaterThanCore(
Vector<T> right,
Vector<bool>? result
)
Parameters
- right Vector<T>
- The second vector.
- result Vector<Boolean>
- The vector that is to hold the result. May be null.
Return Value
Vector<Boolean>A boolean vector whose elements are true if the corresponding element in this vector is greater than the corresponding element in right, and false otherwise.
Exceptions
Argument | right is null. |
Dimension | This vector and right do not have the same length. |