Skip to main content

carried

Function carried 

Source
pub fn carried(x: f64, from: (f64, f64), to: (f64, f64)) -> f64
Expand description

A parameter carried from one domain to another by the affine map between them: where a transform rescales a parameter, a trim inside the old domain lands at the same place inside the new. Unchanged where the old domain has no width to map from.