Function peroxide::prelude::simpler::lambert_wm1

source ·
pub fn lambert_wm1(z: f64) -> f64
Expand description

The secondary branch of the Lambert W function, W_-1(z).

Returns NAN if the given input is positive or smaller than -1/e (≈ -0.36787944117144233).

Accurate to 50 bits.

Wrapper of lambert_w_m1 function of lambert_w crate.

§Reference

Toshio Fukushima, Precise and fast computation of Lambert W function by piecewise minimax rational function approximation with variable transformation