Class DataFit
java.lang.Object
DataFit
- Direct Known Subclasses:
- LinearCoefficientFit
public abstract class DataFit
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataFit
public DataFit(int n)
size
public int size()
reset
public void reset()
countFitted
public int countFitted()
valueAt
public abstract double valueAt(double x)
varianceAt
public abstract double varianceAt(double x)
uncertaintyAt
public double uncertaintyAt(double x)
fit
public abstract void fit(double[] x,
double[] y,
double[] sigma)
throws java.lang.IllegalStateException
- Throws:
java.lang.IllegalStateException
getChiSquared
public double getChiSquared(double[] x,
double[] y,
double[] sigma)