1#ifndef STAN_MATH_OPENCL_PRIM_EIGENVALUES_SYM_HPP
2#define STAN_MATH_OPENCL_PRIM_EIGENVALUES_SYM_HPP
Represents an arithmetic matrix on the OpenCL device.
void check_symmetric(const char *function, const char *name, const matrix_cl< T > &y)
Check if the matrix_cl is symmetric.
matrix_cl< double > eigenvalues_sym(const matrix_cl< double > &m)
Eigen::Matrix< complex_return_t< value_type_t< EigMat > >, -1, -1 > eigenvectors(const EigMat &m)
Return the eigenvectors of a (real-valued) matrix.
void check_nonzero_size(const char *function, const char *name, const T_y &y)
Check if the specified matrix/vector is of non-zero size.
Eigen::Matrix< complex_return_t< value_type_t< EigMat > >, -1, 1 > eigenvalues(const EigMat &m)
Return the eigenvalues of a (real-valued) matrix.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...