Throw an exception if y is not strictly greater than each element of low.
Throw an exception if each element of y is not strictly greater than the associated element in low.
Throw an exception if each element of y is not strictly greater than low.
This function is vectorized and will check each element of y against each element of low.
- Template Parameters
-
| Idxs | A parameter pack of Integral types |
| T_y | A scalar type |
| T_low | 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 |
- Parameters
-
| function | Function name (for error messages) |
| name | Variable name (for error messages) |
| y | Variable to check |
| low | Lower bound |
| idxs | Pack of integral types to construct lazily construct the error message indices |
- Exceptions
-
| `std::domain_error` | if y is not greater or equal to low or if any element of y or low is NaN |
This function is vectorized and will check each element of y against each element of low.
- Template Parameters
-
| Idxs | A parameter pack of Integral types |
| 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_low | A scalar type |
- Parameters
-
| function | Function name (for error messages) |
| name | Variable name (for error messages) |
| y | Variable to check |
| low | Lower bound |
| idxs | Pack of integral types to construct lazily construct the error message indices |
- Exceptions
-
| `std::domain_error` | if y is not greater or equal to low or if any element of y or low is NaN |
This function is vectorized and will check each element of y against each element of low.
- Template Parameters
-
| Idxs | A parameter pack of Integral types |
| T_y | A standard vector or type inheriting from Eigen::DenseBase with compile time rows or columns equal to one and value_type equal to a stan scalar. |
| T_low | A standard vector or type inheriting from Eigen::DenseBase with compile time rows or columns equal to one and value_type equal to a stan scalar. |
- Parameters
-
| function | Function name (for error messages) |
| name | Variable name (for error messages) |
| y | Variable to check |
| low | Lower bound |
| idxs | Pack of integral types to construct lazily construct the error message indices |
- Exceptions
-
| `std::domain_error` | if y is not greater or equal to low or if any element of y or low is NaN |
This function is vectorized and will check each element of y against each element of low.
- Template Parameters
-
| Idxs | A parameter pack of Integral types |
| T_y | A standard vector type with a value_type of a standard vector or type inheriting from Eigen::DenseBase |
| T_low | A scalar type or the same type as the underlying type in T_y |
- Parameters
-
| function | Function name (for error messages) |
| name | Variable name (for error messages) |
| y | Variable to check |
| low | Lower bound |
| idxs | Pack of integral types to construct lazily construct the error message indices |
- Exceptions
-
| `std::domain_error` | if y is not greater or equal to low or if any element of y or low is NaN |
This function is vectorized and will check each element of y against each element of low.
- Template Parameters
-
| Idxs | A parameter pack of Integral types |
| T_y | A scalar type or the same type as the inner type of T_low |
| T_low | A standard vector type with a value_type of a standard vector or type inheriting from Eigen::DenseBase |
- Parameters
-
| function | Function name (for error messages) |
| name | Variable name (for error messages) |
| y | Variable to check |
| low | Lower bound |
| idxs | Pack of integral types to construct lazily construct the error message indices |
- Exceptions
-
| `std::domain_error` | if y is not greater or equal to low or if any element of y or low is NaN |
This function is vectorized and will check each element of y against each element of low.
- Template Parameters
-
| Idxs | A parameter pack of Integral types |
| T_y | A standard vector type whose value_type is a scalar, type inheriting from Eigen::EigenBase, or another standard vector |
| T_low | A standard vector type whose value_type is a scalar, type inheriting from Eigen::EigenBase, or another standard vector |
- Parameters
-
| function | Function name (for error messages) |
| name | Variable name (for error messages) |
| y | Variable to check |
| low | Lower bound |
| idxs | Pack of integral types to construct lazily construct the error message indices |
- Exceptions
-
| `std::domain_error` | if y is not greater or equal to low or if any element of y or low is NaN |
Definition at line 108 of file check_greater.hpp.