Package gov.nasa.arc.mct.fastplot.bridge

Examples of gov.nasa.arc.mct.fastplot.bridge.HighPrecisionLinearRegression


    for (int i = 0 ; i < xValues.length; i++) {
      x[i] = xValues[i].doubleValue();
      y[i] = yValues[i].doubleValue();
         
    }
    HighPrecisionLinearRegression lr= new HighPrecisionLinearRegression(x, y);
    Assert.assertEquals(lr.getSlope(), new Double("61.27218654211064078236753758575390454060").doubleValue());
    Assert.assertEquals(lr.getIntercept().doubleValue(), new Double("-39.06195591884396438476134870821777842837082406218070354692745584586191796818020").doubleValue());
//    System.out.println(lr.getModel());
  }
View Full Code Here

TOP

Related Classes of gov.nasa.arc.mct.fastplot.bridge.HighPrecisionLinearRegression

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.