Skip to main content

momentum_from_de_broglie_wavelength

Function momentum_from_de_broglie_wavelength 

pub fn momentum_from_de_broglie_wavelength(wavelength: f64) -> Option<f64>
Expand description

Computes momentum magnitude from a de Broglie wavelength using p = h / lambda.

Returns None when wavelength is not positive and finite, or when the computed result is not finite.