Skip to main content

elapsed_time_from_remaining_fraction

Function elapsed_time_from_remaining_fraction 

pub fn elapsed_time_from_remaining_fraction(
    decay_constant: f64,
    remaining_fraction: f64,
) -> Option<f64>
Expand description

Computes elapsed time from a remaining fraction and decay constant.

Formula: t = -ln(f) / lambda.