JMSL ExponentialInterpolator Demo


JMSL has a number of interpolators. Interpolators allow the user to define two points on a function that determine its shape. An interpolator's interp(double x) method returns the function's output at x. Here we see a MusicShape, each of whose dimensions was generated by an ExponentialInterpolator. ExponentialInterpolator's setSteepness() method was called with higher and higher values to demonstrate shaping the exponential curve.
You need a Java-enabled browser to view this applet.

source code
(C) 2000 Nick Didkovsky, All Rights Reserved
JMSL is based upon HMSL (C) Phil Burk, Larry Polansky and David Rosenboom.
JMSL Home