Vector.Less Than Or Equal To 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
Less | Checks if the elements of one vector are less than or equal to a constant. |
Less | Checks if the elements of one vector are less than or equal to the corresponding elements of another vector. |
Less | Checks if the elements of one vector are less than or equal to a constant. |
LessThanOrEqualTo<T>(Vector<T>, T)
Checks if the elements of one vector are less than or equal to a constant.
public static Vector<bool> LessThanOrEqualTo<T>(
Vector<T> left,
T right
)
Parameters
- left Vector<T>
- A vector.
- right T
- A constant.
Type Parameters
- T
Return Value
Vector<Boolean>A boolean vector whose elements are true if the corresponding element in left is less than or equal to right, and false otherwise.
Exceptions
Argument | left is null |
LessThanOrEqualTo<T>(Vector<T>, Vector<T>)
Checks if the elements of one vector are less than or equal to the corresponding elements
of another vector.
public static Vector<bool> LessThanOrEqualTo<T>(
Vector<T> left,
Vector<T> right
)
Parameters
Type Parameters
- T
Return Value
Vector<Boolean>A boolean vector whose elements are true if the corresponding element in left is less than or equal to the corresponding element in right, and false otherwise.
Exceptions
Argument | left is null -or- right is null |
Dimension | left and right do not have the same length. |
LessThanOrEqualTo<T>(T, Vector<T>)
Checks if the elements of one vector are less than or equal to a constant.
public static Vector<bool> LessThanOrEqualTo<T>(
T left,
Vector<T> right
)
Parameters
- left T
- A constant.
- right Vector<T>
- A vector.
Type Parameters
- T
Return Value
Vector<Boolean>A boolean vector whose elements are true if left is less than or equal to the corresponding element in right, and false otherwise.
Exceptions
Argument | right is null |