1#ifndef STAN_MATH_PRIM_CONSTRAINT_POSITIVE_FREE_HPP
2#define STAN_MATH_PRIM_CONSTRAINT_POSITIVE_FREE_HPP
plain_type_t< T > positive_free(const T &y)
Return the unconstrained value corresponding to the specified positive-constrained value.
fvar< T > log(const fvar< T > &x)
void check_positive(const char *function, const char *name, const T_y &y)
Check if y is positive.
typename plain_type< T >::type plain_type_t
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...