1#ifndef STAN_MATH_PRIM_FUN_PSEUDO_EIGENVECTORS_HPP
2#define STAN_MATH_PRIM_FUN_PSEUDO_EIGENVECTORS_HPP
12 const Eigen::Matrix<T, -1, -1>& m) {
16 Eigen::EigenSolver<Eigen::Matrix<T, -1, -1>> solver(m);
17 return solver.pseudoEigenvectors();
void check_square(const char *function, const char *name, const T_y &y)
Check if the specified matrix is square.
Eigen::Matrix< T, -1, -1 > pseudo_eigenvectors(const Eigen::Matrix< T, -1, -1 > &m)
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.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...