All Packages Class Hierarchy This Package Previous Next Index
class Oscillate implements S2S { double freq, phase, amplitude ; public Oscillate(double amplitude, double freq, double phase) { this.freq = freq ; this.phase = phase ; this.amplitude = amplitude ; } public double map(double t) { return amplitude*Math.sin(freq*t-phase) ; } }
public abstract double map(double in)
All Packages Class Hierarchy This Package Previous Next Index