Safe Haskell | Safe-Inferred |
---|
Interpolation function for envelope segments. Each function takes three arguments, x0 is the left or begin value, x1 is the right or end value, and t is a (0,1) index.
Documentation
type Interpolation_F t = t -> t -> t -> tSource
linear :: Num t => Interpolation_F tSource
exponential :: Floating t => Interpolation_F tSource
sine :: Floating t => Interpolation_F tSource
welch :: (Ord t, Floating t) => Interpolation_F tSource
curve :: (Ord t, Floating t) => t -> Interpolation_F tSource
squared :: Floating t => Interpolation_F tSource
cubed :: Floating t => Interpolation_F tSource