1#ifndef STAN_MATH_PRIM_CONSTRAINT_CORR_FREE_HPP
2#define STAN_MATH_PRIM_CONSTRAINT_CORR_FREE_HPP
29 check_bounded(
"lub_free",
"Correlation variable", y, -1.0, 1.0);
fvar< T > atanh(const fvar< T > &x)
Return inverse hyperbolic tangent of specified value.
void check_bounded(const char *function, const char *name, const T_y &y, const T_low &low, const T_high &high)
Check if the value is between the low and high values, inclusively.
plain_type_t< T > corr_free(const T &y)
Return the unconstrained scalar that when transformed to a valid correlation produces the specified v...
typename plain_type< T >::type plain_type_t
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...