1#ifndef STAN_MATH_FWD_FUN_MODIFIED_BESSEL_SECOND_KIND_HPP
2#define STAN_MATH_FWD_FUN_MODIFIED_BESSEL_SECOND_KIND_HPP
14 return fvar<T>(modified_bessel_second_kind_z,
15 -v * z.
d_ * modified_bessel_second_kind_z / z.
val_
fvar< T > modified_bessel_second_kind(int v, const fvar< T > &z)
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Scalar val_
The value of this variable.
Scalar d_
The tangent (derivative) of this variable.
This template class represents scalars used in forward-mode automatic differentiation,...