Stan Math Library  2.20.0
reverse mode automatic differentiation
modified_bessel_second_kind.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_PRIM_SCAL_FUN_MODIFIED_BESSEL_SECOND_KIND_HPP
2 #define STAN_MATH_PRIM_SCAL_FUN_MODIFIED_BESSEL_SECOND_KIND_HPP
3 
5 #include <boost/math/special_functions/bessel.hpp>
6 
7 namespace stan {
8 namespace math {
9 
41 template <typename T2>
42 inline T2 modified_bessel_second_kind(int v, const T2 z) {
43  return boost::math::cyl_bessel_k(v, z);
44 }
45 
46 } // namespace math
47 } // namespace stan
48 
49 #endif
fvar< T > modified_bessel_second_kind(int v, const fvar< T > &z)

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