pub fn nm2hz(wavelength_nm: f64) -> f64Expand description
The frequency $f = c / \lambda$ (Hz) of the vacuum wavelength wavelength_nm (nm), $c$
the SPEED_OF_LIGHT.
§Examples
assert!((comnum_math::nm2hz(1550.0) - 193.414e12).abs() < 1e9);pub fn nm2hz(wavelength_nm: f64) -> f64The frequency $f = c / \lambda$ (Hz) of the vacuum wavelength wavelength_nm (nm), $c$
the SPEED_OF_LIGHT.
assert!((comnum_math::nm2hz(1550.0) - 193.414e12).abs() < 1e9);