Skip to main content

frequency_from_period

Function frequency_from_period 

pub fn frequency_from_period(period: f64) -> Option<f64>
Expand description

Computes frequency from period using f = 1 / T.

Returns None when period is less than or equal to zero, when the input is not finite, or when the computed result is not finite.