1#ifndef STAN_MATH_PRIM_FUN_MODIFIED_BESSEL_SECOND_KIND_HPP
2#define STAN_MATH_PRIM_FUN_MODIFIED_BESSEL_SECOND_KIND_HPP
6#include <boost/math/special_functions/bessel.hpp>
42template <
typename T2, require_arithmetic_t<T2>* =
nullptr>
44 return boost::math::cyl_bessel_k(v, z);
57template <
typename T1,
typename T2, require_any_container_t<T1, T2>* =
nullptr>
fvar< T > modified_bessel_second_kind(int v, const fvar< T > &z)
auto apply_scalar_binary(const T1 &x, const T2 &y, const F &f)
Base template function for vectorization of binary scalar functions defined by applying a functor to ...
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...