|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensourcephysics.numerics.CurveFitting
public class CurveFitting
Class CurveFitting defines various curve fitting algorithms inluding linear regression. This class cannot be subclassed or instantiated because all methods are static.
| Method Summary | |
|---|---|
static Function |
linearRegression(double[] xpoints,
double[] ypoints)
Computes the linear regression for the given data. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Function linearRegression(double[] xpoints,
double[] ypoints)
xpoints - double[]ypoints - double[]
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||