Skip to main content

calc_voltage_power_terms

Function calc_voltage_power_terms 

pub fn calc_voltage_power_terms(terms: &[[f64; 2]], ratio: f64) -> (f64, f64)
Expand description

The sum of voltage power law terms [coefficient, exponent] at the voltage ratio x, with its derivative with respect to x, each term by calc_voltage_power_term.