1 #ifndef STAN_MATH_PRIM_SCAL_FUN_ERFC_HPP 2 #define STAN_MATH_PRIM_SCAL_FUN_ERFC_HPP 6 #include <boost/math/special_functions/erf.hpp> 22 inline double erfc(
double x) {
24 return std::numeric_limits<double>::quiet_NaN();
35 inline double erfc(
int x) {
36 return erfc(static_cast<double>(x));
var erfc(const var &a)
The complementary error function for variables (C99).
fvar< T > erfc(const fvar< T > &x)
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...
int is_nan(const fvar< T > &x)
Returns 1 if the input's value is NaN and 0 otherwise.