1#ifndef STAN_MATH_PRIM_ERR_IS_SQUARE_HPP
2#define STAN_MATH_PRIM_ERR_IS_SQUARE_HPP
18template <
typename EigMat, require_eigen_t<EigMat>* =
nullptr>
bool is_size_match(T_size1 i, T_size2 j)
Return true if the provided sizes match.
bool is_square(const EigMat &y)
Return true if the matrix is square.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...