Skip to main content

hypergeometric_1f1

Function hypergeometric_1f1 

Source
pub fn hypergeometric_1f1(a: f64, b: f64, x: f64) -> f64
Expand description

Kummer’s confluent hypergeometric function ₁F₁(a; b; x) = M(a, b, x), for real arguments.

Uses Kummer’s transformation M(a,b,x) = e^x M(b-a,b,-x) for x < 0 to avoid cancellation. Returns NaN if b is a non-positive integer (unless the series terminates first).