Matrix.Less Than 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 matrix are less than a constant. |
Less | Checks if the elements of one matrix are less than the corresponding elements of another matrix. |
Less | Checks if the elements of one matrix are less than a constant. |
LessThan<T>(Matrix<T>, T)
Checks if the elements of one matrix are less than a constant.
public static Matrix<bool> LessThan<T>(
Matrix<T> left,
T right
)
Parameters
- left Matrix<T>
- A matrix.
- right T
- A constant.
Type Parameters
- T
Return Value
Matrix<Boolean>A boolean matrix whose elements are true if the corresponding element in left is less than right, and false otherwise.
Exceptions
Argument | left is null |
LessThan<T>(Matrix<T>, Matrix<T>)
Checks if the elements of one matrix are less than the corresponding elements
of another matrix.
public static Matrix<bool> LessThan<T>(
Matrix<T> left,
Matrix<T> right
)
Parameters
Type Parameters
- T
Return Value
Matrix<Boolean>A boolean matrix whose elements are true if the corresponding element in left is less than 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. |
LessThan<T>(T, Matrix<T>)
Checks if the elements of one matrix are less than a constant.
public static Matrix<bool> LessThan<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 the corresponding element in right, and false otherwise.
Exceptions
Argument | right is null |