Deprecated
as a consequence of DifferentiableUnivariateFunction being deprecated. See corresponding docs for further information.
| Modifier and Type | Class and Description |
|---|---|
| public static class | HarmonicOscillator.
Parametric function where the input array contains the parameters of the harmonic oscillator function, ordered as follows:
|
| Modifier and Type | Field and Description |
|---|---|
| private final double | amplitude
Amplitude. |
| private final double | omega
Angular frequency. |
| private final double | phase
Phase. |
| Access | Constructor and Description |
|---|---|
| public | HarmonicOscillator(double
Amplitude. amplitude, double Angular frequency. omega, double Phase. phase)Harmonic oscillator function. |
| Modifier and Type | Method and Description |
|---|---|
| public UnivariateFunction | derivative()
Implements org.
Deprecated
as of 3.1, replaced by
value(DerivativeStructure)
Returns the derivative of the function |
| public double | value(double
Point at which the function value should be computed. x)Implements org. Compute the value of the function. |
| private static double | Returns: the value of the harmonic oscillator function atx.omega * x + phase.Amplitude. amplitude)
|
| public DerivativeStructure | value(final DerivativeStructure
function input value t)Implements org. Simple mathematical function. |
| amplitude | back to summary |
|---|---|
| private final double amplitude Amplitude. | |
| omega | back to summary |
|---|---|
| private final double omega Angular frequency. | |
| phase | back to summary |
|---|---|
| private final double phase Phase. | |
| HarmonicOscillator | back to summary |
|---|---|
| public HarmonicOscillator(double amplitude, double omega, double phase) Harmonic oscillator function.
| |
| derivative | back to summary |
|---|---|
| public UnivariateFunction derivative() Implements org. Doc from org. Deprecated as of 3.1, replaced by Returns the derivative of the function
| |
| value | back to summary |
|---|---|
| public double value(double x) Implements org. Doc from org. Compute the value of the function.
| |
| value | back to summary |
|---|---|
private static double value(double xTimesOmegaPlusPhase, double amplitude)
| |
| value | back to summary |
|---|---|
| public DerivativeStructure value(final DerivativeStructure t) throws DimensionMismatchException Implements org. Doc from org. Simple mathematical function.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public double[] | Returns: the gradient vector atx.Value at which the gradient must be computed. x, double... Values of amplitude, angular frequency and phase. param)Implements org. Computes the value of the gradient at |
| private void | validateParameters(double[]
Values of norm, mean and standard deviation. param)Validates parameters to ensure they are appropriate for the evaluation of
the |
| public double | Returns: the value of the function.Value for which the function must be computed. x, double... Values of norm, mean and standard deviation. param)Implements org. Computes the value of the harmonic oscillator at |
| Parametric | back to summary |
|---|---|
| public Parametric() | |
| gradient | back to summary |
|---|---|
| public double[] gradient(double x, double... param) throws NullArgumentException, DimensionMismatchException Implements org. Computes the value of the gradient at
| |
| validateParameters | back to summary |
|---|---|
| private void validateParameters(double[] param) throws NullArgumentException, DimensionMismatchException Validates parameters to ensure they are appropriate for the evaluation of
the
| |
| value | back to summary |
|---|---|
| public double value(double x, double... param) throws NullArgumentException, DimensionMismatchException Implements org. Computes the value of the harmonic oscillator at
| |