Skip to main content

angular_frequency_from_energy

Function angular_frequency_from_energy 

Source
pub fn angular_frequency_from_energy(energy: f64) -> Option<f64>
Expand description

Computes angular frequency from energy using omega = E / hbar.

Returns None when energy is negative, when the input is not finite, or when the computed result is not finite.