Home
last modified time | relevance | path

Searched refs:sumXX (Results 1 – 2 of 2) sorted by relevance

/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/regression/
DSimpleRegression.java70 private double sumXX = 0d; field in SimpleRegression
144 sumXX += dx * dx * (double) n / (n + 1d); in addData()
177 sumXX -= dx * dx * (double) n / (n - 1d); in removeData()
239 sumXX = 0d; in clear()
317 if (FastMath.abs(sumXX) < 10 * Double.MIN_VALUE) { in getSlope()
320 return sumXY / sumXX; in getSlope()
353 return FastMath.max(0d, sumYY - sumXY * sumXY / sumXX); in getSumSquaredErrors()
384 return sumXX; in getXSumSquares()
488 getMeanSquareError() * ((1d / (double) n) + (xbar * xbar) / sumXX)); in getInterceptStdErr()
503 return FastMath.sqrt(getMeanSquareError() / sumXX); in getSlopeStdErr()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DLine.java156 float sumXX = 0.0f, sumXY = 0.0f, sumXZ = 0.0f; in orthogonalLineFit() local
163 sumXX += compVec2.x * compVec2.x; in orthogonalLineFit()
176 compMat1.m11 = sumXX + sumZZ; in orthogonalLineFit()
180 compMat1.m22 = sumXX + sumYY; in orthogonalLineFit()