HomeSort by relevance Sort by last modified time
    Searched refs:FastMath (Results 76 - 100 of 136) sorted by null

1 2 34 5 6

  /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/regression/
SimpleRegression.java 26 import org.apache.commons.math.util.FastMath;
317 if (FastMath.abs(sumXX) < 10 * Double.MIN_VALUE) {
353 return FastMath.max(0d, sumYY - sumXY * sumXY / sumXX);
449 double result = FastMath.sqrt(getRSquare());
487 return FastMath.sqrt(
503 return FastMath.sqrt(getMeanSquareError() / sumXX);
597 FastMath.abs(getSlope()) / getSlopeStdErr()));
  /external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/
UnivariateRealSolverUtils.java 25 import org.apache.commons.math.util.FastMath;
189 a = FastMath.max(a - 1.0, lowerBound);
190 b = FastMath.min(b + 1.0, upperBound);
BisectionSolver.java 22 import org.apache.commons.math.util.FastMath;
123 if (FastMath.abs(max - min) <= absoluteAccuracy) {
NewtonSolver.java 26 import org.apache.commons.math.util.FastMath;
168 if (FastMath.abs(x1 - x0) <= absoluteAccuracy) {
  /external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
AbstractContinuousDistribution.java 30 import org.apache.commons.math.util.FastMath;
127 if (FastMath.abs(rootFindingFunction.value(lowerBound)) < getSolverAbsoluteAccuracy()) {
130 if (FastMath.abs(rootFindingFunction.value(upperBound)) < getSolverAbsoluteAccuracy()) {
PascalDistributionImpl.java 26 import org.apache.commons.math.util.FastMath;
182 FastMath.pow(probabilityOfSuccess, numberOfSuccesses) *
183 FastMath.pow(1.0 - probabilityOfSuccess, x);
BinomialDistributionImpl.java 25 import org.apache.commons.math.util.FastMath;
190 ret = FastMath.exp(SaddlePointExpansion.logBinomialProbability(x,
  /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/
Skewness.java 22 import org.apache.commons.math.util.FastMath;
113 ((n0 - 1) * (n0 -2) * FastMath.sqrt(variance) * variance);
179 accum3 /= variance * FastMath.sqrt(variance);
  /external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
BlockFieldMatrix.java 27 import org.apache.commons.math.util.FastMath;
235 final int pEnd = FastMath.min(pStart + BLOCK_SIZE, rows);
239 final int qEnd = FastMath.min(qStart + BLOCK_SIZE, columns);
287 final int pEnd = FastMath.min(pStart + BLOCK_SIZE, rows);
291 final int qEnd = FastMath.min(qStart + BLOCK_SIZE, columns);
347 final int pEnd = FastMath.min(pStart + BLOCK_SIZE, rows);
349 final int qEnd = FastMath.min(qStart + BLOCK_SIZE, columns);
420 final int pEnd = FastMath.min(pStart + BLOCK_SIZE, rows);
422 final int qEnd = FastMath.min(qStart + BLOCK_SIZE, columns);
530 final int pEnd = FastMath.min(pStart + BLOCK_SIZE, rows)
    [all...]
CholeskyDecompositionImpl.java 22 import org.apache.commons.math.util.FastMath;
122 relativeSymmetryThreshold * FastMath.max(FastMath.abs(lIJ), FastMath.abs(lJI));
123 if (FastMath.abs(lIJ - lJI) > maxDelta) {
140 ltI[i] = FastMath.sqrt(ltI[i]);
SingularValueDecompositionImpl.java 22 import org.apache.commons.math.util.FastMath;
141 singularValues[i] = FastMath.sqrt(FastMath.abs(singularValues[i]));
255 final double threshold = FastMath.max(m, n) * FastMath.ulp(singularValues[0]);
AbstractRealVector.java 30 import org.apache.commons.math.util.FastMath;
206 return FastMath.sqrt(d);
218 return FastMath.sqrt(sum);
227 norm += FastMath.abs(e.getValue());
238 norm = FastMath.max(norm, FastMath.abs(e.getValue()));
255 d += FastMath.abs(e.getValue() - v.getEntry(e.getIndex()));
267 d += FastMath.abs(e.getValue() - v[e.getIndex()]);
279 d = FastMath.max(FastMath.abs(e.getValue() - v.getEntry(e.getIndex())), d)
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/
MicrosphereInterpolatingFunction.java 30 import org.apache.commons.math.util.FastMath;
204 if (FastMath.abs(diffNorm) < FastMath.ulp(1d)) {
211 final double w = FastMath.pow(diffNorm, -brightnessExponent);
LoessInterpolator.java 26 import org.apache.commons.math.util.FastMath;
281 double denom = FastMath.abs(1.0 / (xval[edge] - x));
301 if (FastMath.sqrt(FastMath.abs(meanXSquared - meanX * meanX)) < accuracy) {
310 residuals[i] = FastMath.abs(yval[i] - res[i]);
328 if (FastMath.abs(medianResidual) < accuracy) {
  /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/summary/
Product.java 23 import org.apache.commons.math.util.FastMath;
166 product *= FastMath.pow(values[i], weights[i]);
  /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/correlation/
PearsonsCorrelation.java 29 import org.apache.commons.math.util.FastMath;
145 out[i][j] = FastMath.sqrt((1 - r * r) /(nObs - 2));
174 double t = FastMath.abs(r * FastMath.sqrt((nObs - 2)/(1 - r * r)));
258 double sigma = FastMath.sqrt(covarianceMatrix.getEntry(i, i));
262 (sigma * FastMath.sqrt(covarianceMatrix.getEntry(j, j)));
  /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/
TTestImpl.java 26 import org.apache.commons.math.util.FastMath;
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/
AdamsMoultonIntegrator.java 29 import org.apache.commons.math.util.FastMath;
400 final double yScale = FastMath.max(FastMath.abs(previous[i]), FastMath.abs(after[i]));
409 return FastMath.sqrt(error / mainSetDimension);
AdamsBashforthIntegrator.java 26 import org.apache.commons.math.util.FastMath;
237 final double yScale = FastMath.abs(y[i]);
244 error = FastMath.sqrt(error / mainSetDimension);
  /external/apache-commons-math/src/main/java/org/apache/commons/math/random/
EmpiricalDistributionImpl.java 34 import org.apache.commons.math.util.FastMath;
361 return FastMath.min(
362 FastMath.max((int) FastMath.ceil((value- min) / delta) - 1, 0),
379 double x = FastMath.random();
  /external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/polynomials/
PolynomialsUtils.java 22 import org.apache.commons.math.util.FastMath;
197 final int maxDegree = (int) FastMath.floor(FastMath.sqrt(2 * coefficients.size())) - 1;
  /external/apache-commons-math/src/main/java/org/apache/commons/math/estimation/
GaussNewtonEstimator.java 29 import org.apache.commons.math.util.FastMath;
101 * <code>FastMath.abs(J<sub>n</sub> - J<sub>n-1</sub>) &lt;
126 * <code>FastMath.abs(J<sub>n</sub> - J<sub>n-1</sub>) &lt;
226 (FastMath.abs(previous - cost) > (cost * steadyStateThreshold) &&
227 (FastMath.abs(cost) > convergence)));
  /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/
StatisticalSummaryValues.java 21 import org.apache.commons.math.util.FastMath;
113 return FastMath.sqrt(variance);
  /external/apache-commons-math/src/main/java/org/apache/commons/math/util/
ContinuedFraction.java 152 final double scale = FastMath.max(a,b);
190 relativeError = FastMath.abs(r / c - 1.0);
  /external/apache-commons-math/src/main/java/org/apache/commons/math/transform/
FastFourierTransformer.java 27 import org.apache.commons.math.util.FastMath;
129 double scaling_coefficient = 1.0 / FastMath.sqrt(f.length);
153 double scaling_coefficient = 1.0 / FastMath.sqrt(n);
171 double scaling_coefficient = 1.0 / FastMath.sqrt(f.length);
247 double scaling_coefficient = 1.0 / FastMath.sqrt(f.length);
271 double scaling_coefficient = 1.0 / FastMath.sqrt(n);
289 double scaling_coefficient = 1.0 / FastMath.sqrt(f.length);
839 final int absN = FastMath.abs(n);
846 final double t = 2.0 * FastMath.PI / absN;
847 final double cosT = FastMath.cos(t)
    [all...]

Completed in 433 milliseconds

1 2 34 5 6