Stan Math Library  2.20.0
reverse mode automatic differentiation
Namespaces | Functions
locscale_constrain.hpp File Reference
#include <stan/math/prim/meta.hpp>
#include <boost/math/tools/promotion.hpp>
#include <stan/math/prim/scal/fun/identity_constrain.hpp>
#include <stan/math/prim/scal/err/check_positive_finite.hpp>
#include <stan/math/prim/scal/err/check_finite.hpp>
#include <cmath>
#include <limits>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename T , typename M , typename S >
boost::math::tools::promote_args< T, M, S >::type stan::math::locscale_constrain (const T &x, const M &mu, const S &sigma)
 Return the linearly transformed value for the specified unconstrained input and specified location and scale. More...
 
template<typename T , typename M , typename S >
boost::math::tools::promote_args< T, M, S >::type stan::math::locscale_constrain (const T &x, const M &mu, const S &sigma, T &lp)
 Return the linearly transformed value for the specified unconstrained input and specified location and scale, incrementing the specified reference with the log absolute Jacobian determinant of the transform. More...
 

     [ Stan Home Page ] © 2011–2018, Stan Development Team.