modified_bessel_first_kind.hpp
Go to the documentation of this file.
#ifndef STAN_MATH_PRIM_SCAL_FUN_MODIFIED_BESSEL_FIRST_KIND_HPP
#define STAN_MATH_PRIM_SCAL_FUN_MODIFIED_BESSEL_FIRST_KIND_HPP
#include <boost/math/special_functions/bessel.hpp>
#include <stan/math/prim/scal/err/check_not_nan.hpp>
namespace stan {
namespace math {
template<typename T2>
inline T2
modified_bessel_first_kind(int v, const T2 z) {
check_not_nan("modified_bessel_first_kind", "z", z);
return boost::math::cyl_bessel_i(v, z);
}
}
}
#endif
check_not_nan.hpp
stan
Definition: log_sum_exp.hpp:8
stan::math::modified_bessel_first_kind
fvar< T > modified_bessel_first_kind(int v, const fvar< T > &z)
Definition: modified_bessel_first_kind.hpp:13
stan::math::check_not_nan
void check_not_nan(const char *function, const char *name, const T_y &y)
Check if y is not NaN.
Definition: check_not_nan.hpp:57

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