public static class SignalProcessing.SawtoothSampleGenerator extends java.lang.Object implements DoubleUnaryOperation
Constructor and Description |
---|
SawtoothSampleGenerator(double period,
double phase)
Construct a SawtoothSampleGenerator with the given period and
phase.
|
Modifier and Type | Method and Description |
---|---|
double |
operate(double time)
Return a sample of the sawtooth wave, sampled at the
specified time.
|
public SawtoothSampleGenerator(double period, double phase)
public final double operate(double time)
operate
in interface DoubleUnaryOperation
time
- The operand.