Class HarmonicOscillator.Parametric

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

public static class HarmonicOscillator.Parametric
extends java.lang.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
    Parametric()  
  • 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