1#ifndef STAN_MATH_PRIM_ERR_IS_SCAL_FINITE_HPP
2#define STAN_MATH_PRIM_ERR_IS_SCAL_FINITE_HPP
21template <
typename T_y>
T get(const T &x, size_t n)
Returns the provided element.
int64_t size(const T &m)
Returns the size (number of the elements) of a matrix_cl or var_value<matrix_cl<T>>.
double value_of_rec(const fvar< T > &v)
Return the value of the specified variable.
bool is_scal_finite(const T_y &y)
Return true if y is finite.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...