Throw an exception if y is not strictly less than high.
Throw an exception if each element of y is not strictly less than each element of high.
This function is vectorized and will check each element of y against each element of high.
- Template Parameters
-
| T_y | A scalar type |
| T_high | A scalar type |
| Idxs | A parameter pack of Integral types |
- Parameters
-
| function | Function name (for error messages) |
| name | Variable name (for error messages) |
| y | Variable to check |
| high | Upper bound |
| idxs | Pack of integral types to construct lazily construct the error message indices |
- Exceptions
-
| `domain_error` | if y is not less than high or if any element of y or high is NaN |
This function is vectorized and will check each element of y against each element of high.
- Template Parameters
-
| T_y | Type inheriting from Eigen::DenseBase or a var_value with the var's inner type inheriting from Eigen::DenseBase where the compile time number of rows or columns is not equal to one |
| T_high | Type inheriting from Eigen::DenseBase or a var_value with the var's inner type inheriting from Eigen::DenseBase where the compile time number of rows or columns is not equal to one |
| Idxs | A parameter pack of Integral types |
- Parameters
-
| function | Function name (for error messages) |
| name | Variable name (for error messages) |
| y | Variable to check |
| high | Upper bound |
| idxs | Pack of integral types to construct lazily construct the error message indices |
- Exceptions
-
| `domain_error` | if y is not less than high or if any element of y or high is NaN |
Definition at line 35 of file check_less.hpp.