1#ifndef STAN_MATH_PRIM_CONSTRAINT_CORR_CONSTRAIN_HPP
2#define STAN_MATH_PRIM_CONSTRAINT_CORR_CONSTRAIN_HPP
45template <
typename T_x,
typename T_lp>
67template <
bool Jacobian,
typename T_x,
typename T_lp>
fvar< T > tanh(const fvar< T > &x)
auto sum(const std::vector< T > &m)
Return the sum of the entries of the specified standard vector.
plain_type_t< T > corr_constrain(const T &x)
Return the result of transforming the specified scalar or container of values to have a valid correla...
fvar< T > log1m(const fvar< T > &x)
fvar< T > square(const fvar< T > &x)
typename plain_type< T >::type plain_type_t
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...