Skip to main content

beta_from_rapidity

Function beta_from_rapidity 

Source
pub fn beta_from_rapidity(rapidity: f64) -> Option<f64>
Expand description

Computes β = tanh(φ) from rapidity.

Returns None when rapidity is not finite or when the computed beta is not finite.