Class HarmonicOscillator.Parametric

java.lang.Object
org.hipparchus.analysis.function.HarmonicOscillator.Parametric
All Implemented Interfaces:
ParametricUnivariateFunction
Enclosing class:
HarmonicOscillator

public static class HarmonicOscillator.Parametric extends Object implements ParametricUnivariateFunction
Parametric function where the input array contains the parameters of the harmonic oscillator function, ordered as follows:
  • Amplitude
  • Angular frequency
  • Phase
  • Constructor Summary

    Constructors
    Constructor
    Description
    Empty constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    double[]
    gradient(double x, double... param)
    Computes the value of the gradient at x.
    double
    value(double x, double... param)
    Computes the value of the harmonic oscillator at x.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Parametric

      public Parametric()
      Empty constructor.

      This constructor is not strictly necessary, but it prevents spurious javadoc warnings with JDK 18 and later.

      Since:
      3.0
  • Method Details