asinh.hpp
Go to the documentation of this file.
#ifndef STAN_MATH_PRIM_SCAL_FUN_ASINH_HPP
#define STAN_MATH_PRIM_SCAL_FUN_ASINH_HPP
#include <stan/math/prim/scal/fun/boost_policy.hpp>
#include <boost/math/special_functions/asinh.hpp>
namespace stan {
namespace math {
inline double asinh(double x) {
return boost::math::asinh(x, boost_policy_t());
}
inline double asinh(int x) {
return asinh(static_cast<double>(x));
}
}
}
#endif
boost_policy.hpp
stan
Definition: log_sum_exp.hpp:8
stan::math::asinh
fvar< T > asinh(const fvar< T > &x)
Definition: asinh.hpp:13
stan::math::asinh
var asinh(const var &a)
The inverse hyperbolic sine function for variables (C99).
Definition: asinh.hpp:58
stan::math::boost_policy_t
boost::math::policies::policy< boost::math::policies::overflow_error< boost::math::policies::errno_on_error >, boost::math::policies::pole_error< boost::math::policies::errno_on_error > > boost_policy_t
Boost policy that overrides the defaults to match the built-in C++ standard library functions...
Definition: boost_policy.hpp:23

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