vec_math
Class GeneralLinearRegression.StraightLine
java.lang.Object
vec_math.GeneralLinearRegression.StraightLine
- Enclosing class:
- GeneralLinearRegression
public static class GeneralLinearRegression.StraightLine
- extends Object
We fit data to a straight line. The data is read from an x/y ascii-file.
|
Method Summary |
static void |
main(String[] arg)
First command line argument is the data file, second the x values,
third the y values. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeneralLinearRegression.StraightLine
public GeneralLinearRegression.StraightLine()
main
public static void main(String[] arg)
- First command line argument is the data file, second the x values,
third the y values. If A fourth argument exists, it is the errors in
y.