Skip to main content

lorentz_factor

Function lorentz_factor 

Source
pub fn lorentz_factor(beta: f64) -> Option<f64>
Expand description

The special-relativistic Lorentz factor γ = 1/√(1 − β²) for a speed β as a fraction of c. None for |β| ≥ 1 (or NaN) — nothing reaches or exceeds light speed. Inherently a float (relativity is transcendental), unlike the exact-rational quantity arithmetic.