public static class SignalProcessing.GaussianSampleGenerator extends java.lang.Object implements DoubleUnaryOperation
h(t) = (1/(sqrt(2 * PI) * stdDev) *
exp(-(t - mean)2 / (2 * stdDev2))
| Constructor and Description |
|---|
GaussianSampleGenerator(double mean,
double standardDeviation)
Construct a GaussianSampleGenerator.
|
| Modifier and Type | Method and Description |
|---|---|
double |
operate(double time)
Return a sample of the Gaussian function, sampled at the
specified time.
|
public GaussianSampleGenerator(double mean,
double standardDeviation)
standardDeviation - The standard deviation of the
Gaussian function.public final double operate(double time)
operate in interface DoubleUnaryOperationtime - The operand.