Function maths_rs::gain

source ·
pub fn gain<T: SignedNumber + Float + FloatOps<T>>(x: T, k: T) -> T
Expand description

returns gain (y position on a graph for x); remapping the unit interval into the unit interval by expanding the sides and compressing the center