Skip to main content

speed_from_rapidity

Function speed_from_rapidity 

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

Computes signed velocity v = c * tanh(φ) from rapidity.

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