fn
scaled_modified_bessel_k1
→Tensorscaled_modified_bessel_k1(x: Tensor)Exponentially scaled modified Bessel : .
Computes , the bounded scaled variant of
modified_bessel_k1 suitable for stable evaluation of
log-densities involving at large argument.
Parameters
xTensorInput tensor; only is in the domain.
Returns
Tensor element-wise, same shape and dtype as x.
Notes
Asymptotic: as .
Examples
>>> import lucid
>>> from lucid.special import scaled_modified_bessel_k1
>>> scaled_modified_bessel_k1(lucid.tensor([1.0, 5.0, 20.0]))
Tensor([1.6362, 0.6001, 0.2820])