Stan Math Library
4.9.0
Automatic Differentiation
|
Functions | |
template<typename T > | |
void | stan::math::check_mat_not_size_one (const char *function, const char *name, const matrix_cl< T > &A) |
Check if the matrix_cl has a single element. | |
void | stan::math::check_opencl_error (const char *function, const cl::Error &e) |
Throws the domain error with specifying the OpenCL error that occurred. | |
template<typename T , typename = require_arithmetic_t<T>> | |
void | stan::math::check_symmetric (const char *function, const char *name, const matrix_cl< T > &y) |
Check if the matrix_cl is symmetric. | |
template<typename T , require_matrix_cl_t< T > * = nullptr> | |
void | stan::math::check_triangular (const char *function, const char *name, const T &A) |
Check if the matrix_cl is either upper triangular or lower triangular. | |