1 #ifndef STAN__MATH__FUNCTIONS__MODIFIED_BESSEL_FIRST_KIND_HPP
2 #define STAN__MATH__FUNCTIONS__MODIFIED_BESSEL_FIRST_KIND_HPP
4 #include <boost/math/special_functions/bessel.hpp>
40 check_not_nan(
"modified_bessel_first_kind(%1%)", z,
"z", static_cast<double*>(0));
42 return boost::math::cyl_bessel_i(v,z);
bool check_not_nan(const char *function, const T_y &y, const char *name, T_result *result)
Checks if the variable y is nan.
T2 modified_bessel_first_kind(const int v, const T2 z)