Skip to main content

interpolate

Function interpolate 

Source
pub fn interpolate(ranges: &[PowerRange], factor: f64) -> Vec<PowerValue>
Expand description

The power a set of ranges implies at a factor.

One value per commodity quantity, in the order the ranges were given.