Struct anl::ImplicitGain [] [src]

pub struct ImplicitGain { /* fields omitted */ }

Gain is similar in effect to Bias, and in fact uses Bias in its working. It applies the following function to the source input: if(t<0.5) { return bias(1.0-g, 2.0*t)/2.0; } else { return 1.0 - bias(1.0-g, 2.0 - 2.0*t)/2.0; } This function has the effect of pushing the values of the input either toward the ends and away from the middle (if bias is >0.5) or pushing values toward the middle and away from the ends (if bias is < 0.5).

Methods

impl ImplicitGain
[src]

Trait Implementations

impl ImplicitModule for ImplicitGain
[src]