|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.math.optimization.fitting.HarmonicFunction
public class HarmonicFunction
Harmonic function of the form f (t) = a cos (ω t + φ).
| Constructor Summary | |
|---|---|
HarmonicFunction(double a,
double omega,
double phi)
Simple constructor. |
|
| Method Summary | |
|---|---|
HarmonicFunction |
derivative()
Returns the derivative of the function |
double |
getAmplitude()
Get the amplitude a. |
double |
getPhase()
Get the phase φ. |
double |
getPulsation()
Get the pulsation ω. |
double |
value(double x)
Compute the value for the function. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HarmonicFunction(double a,
double omega,
double phi)
a - amplitudeomega - pulsationphi - phase| Method Detail |
|---|
public double value(double x)
value in interface UnivariateRealFunctionx - the point for which the function value should be computed
public HarmonicFunction derivative()
derivative in interface DifferentiableUnivariateRealFunctionpublic double getAmplitude()
public double getPulsation()
public double getPhase()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||