jasext.hist.function
Class PolynomialFunction
java.lang.Object
|
+--java.util.Observable
|
+--jas.hist.Basic1DFunction
|
+--jas.hist.Fittable1DFunction
|
+--jasext.hist.function.AbstractPolynomialFunction
|
+--jasext.hist.function.PolynomialFunction
- All Implemented Interfaces:
- DataSource, ExtendedStatistics, FunctionAdvancedOptions, FunctionData, HasHandles, HasStatistics, java.io.Serializable, Statistics
- public class PolynomialFunction
- extends jasext.hist.function.AbstractPolynomialFunction
- implements FunctionAdvancedOptions
- See Also:
- Serialized Form
Field Summary |
protected int |
order
|
protected double[] |
p
|
Constructor Summary |
PolynomialFunction(double xmin,
double xmax,
double ymin,
double ymax)
|
Methods inherited from class jas.hist.Fittable1DFunction |
clearFit, clearFitParams, destroy, getDerivatives, getExtendedStatistic, getFit, getIncludeParametersInFit, getStatistic, getStatisticNames, initIncludeParametersInFit, setFit, setIncludeParameterInFit |
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
p
protected double[] p
order
protected int order
PolynomialFunction
public PolynomialFunction(double xmin,
double xmax,
double ymin,
double ymax)
openAdvancedDialog
public void openAdvancedDialog(java.awt.Frame f,
JASHist hist)
- Specified by:
openAdvancedDialog
in interface FunctionAdvancedOptions
valueAt
public final double valueAt(double x)
- Overrides:
valueAt
in class Basic1DFunction
valueAt
public final double valueAt(double x,
double[] a)
- Overrides:
valueAt
in class Fittable1DFunction
getParameterNames
public final java.lang.String[] getParameterNames()
- Overrides:
getParameterNames
in class Basic1DFunction
getParameterValues
public final double[] getParameterValues()
- Overrides:
getParameterValues
in class Basic1DFunction
setParameter
public final void setParameter(int index,
double value)
throws InvalidFunctionParameter
- Overrides:
setParameter
in class Basic1DFunction
setFit
public final void setFit(Fitter fit,
double[] value)
throws InvalidFunctionParameter
- Overrides:
setFit
in class Fittable1DFunction
getTitle
public java.lang.String getTitle()
- Overrides:
getTitle
in class Basic1DFunction
getHandles
public final Handle[] getHandles(double xLow,
double xHigh,
double yLow,
double yHigh)
- Specified by:
getHandles
in interface HasHandles