Function interpolated_q

Source
pub fn interpolated_q(
    first_rank: f64,
    max_rank_value: f64,
    rank: i64,
    max_rank: i64,
) -> f64
Expand description

One coefficient interpolated between its first and last rank.

Interpolation is linear in ln(q), so a rank ladder compounds evenly instead of front-loading. A single-rank component (max_rank <= 1) is worth its first-rank value.