Package | Description |
---|---|
ptolemy.math |
Math classes.
|
ptolemy.math.test |
The ptolemy.math.test package.
|
Modifier and Type | Class and Description |
---|---|
static class |
SignalProcessing.GaussianSampleGenerator
This class generates samples of a Gaussian function with the
specified mean and standard deviation.
|
static class |
SignalProcessing.PolynomialSampleGenerator
This class generates samples of a polynomial.
|
static class |
SignalProcessing.RaisedCosineSampleGenerator
This class generates samples of a raised cosine pulse, or if the
excess is zero, a modified sinc function.
|
static class |
SignalProcessing.SawtoothSampleGenerator
This class generates samples of a sawtooth wave with the specified
period and phase.
|
static class |
SignalProcessing.SincSampleGenerator
This class generates samples of a sinc wave with the specified
first zero crossing.
|
static class |
SignalProcessing.SinusoidSampleGenerator
This class generates samples of a sinusoidal wave.
|
static class |
SignalProcessing.SqrtRaisedCosineSampleGenerator
This class generates samples of a square-root raised cosine pulse.
|
Modifier and Type | Method and Description |
---|---|
static double[] |
DoubleArrayMath.applyUnaryOperation(DoubleUnaryOperation op,
double[] array)
Return a new array that is formed by applying an instance of a
DoubleUnaryOperation to each element in the input array
(op.operate(array[i])).
|
static double[][] |
DoubleMatrixMath.applyUnaryOperation(DoubleUnaryOperation op,
double[][] matrix)
Return a new array that is formed by applying an instance of a
DoubleUnaryOperation to each element in the input matrix
(op.operate(matrix[i][j])).
|
static double[] |
SignalProcessing.sampleWave(int length,
double startTime,
double interval,
DoubleUnaryOperation sampleGen)
Return a new array that is filled with samples of a waveform of a
specified length.
|
Modifier and Type | Class and Description |
---|---|
class |
TestDoubleUnaryOperation
A operation taking one argument of type double, and producing a value of
type double.
|