Matrix.Less Than Or Equal To<T>(T, Matrix<T>) Method
Checks if the elements of one matrix are less than or equal to a constant.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A boolean matrix whose elements are true if left is less than or equal to the corresponding element in right, and false otherwise.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Matrix<bool> LessThanOrEqualTo<T>(
T left,
Matrix<T> right
)
Parameters
- left T
- A constant.
- right Matrix<T>
- A matrix.
Type Parameters
- T
Return Value
Matrix<Boolean>A boolean matrix 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 |