1#ifndef STAN_MATH_OPENCL_PRIM_EIGENVECTORS_SYM_HPP
2#define STAN_MATH_OPENCL_PRIM_EIGENVECTORS_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 > eigenvectors_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 symmetric_eigensolver(const matrix_cl< double > &A, matrix_cl< double > &eigenvalues, matrix_cl< double > &eigenvectors)
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 ...