1 #ifndef STAN_MATH_PRIM_SCAL_FUN_OFFSET_MULTIPLIER_FREE_HPP 2 #define STAN_MATH_PRIM_SCAL_FUN_OFFSET_MULTIPLIER_FREE_HPP 8 #include <boost/math/tools/promotion.hpp> 41 template <
typename T,
typename L,
typename S>
42 inline typename boost::math::tools::promote_args<T, L, S>::type
51 return (y - mu) / sigma;
void check_finite(const char *function, const char *name, const T_y &y)
Check if y is finite.
boost::math::tools::promote_args< T, L, S >::type offset_multiplier_free(const T &y, const L &mu, const S &sigma)
Return the unconstrained scalar that transforms to the specified offset and multiplier constrained sc...
T identity_free(const T &y)
Returns the result of applying the inverse of the identity constraint transform to the input...
void check_positive_finite(const char *function, const char *name, const T_y &y)
Check if y is positive and finite.