/FileExtraction/Java_unseen/OE-FET_JISA/src/jisa/maths/fits/LinearFit.java
package jisa.maths.fits;

public class LinearFit extends PolyFit {

    public LinearFit(PolyFit fit)     { super(fit.getParameters(), fit.getErrors()); }

    public double getIntercept()      { return getParameter(0); }

    public double getGradient()       { return getParameter(1); }

    public double getInterceptError() { return getError(0); }

    public double getGradientError()  { return getError(1); }

}
