Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Constructs a check on opencl matrix or expression.
When assigned a boolean expression it throws a std::domain_error
if any value of the expression result is false.
T | type of the expression to check |
function | function name (for error messages) |
var_name | variable name (for error messages) |
y | variable to check (for error messages) |
must_be | description of what the value must be (for error messages) |
Definition at line 219 of file check_cl.hpp.