Searched refs:xArray (Results 1 - 4 of 4) sorted by relevance
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/correlation/ |
H A D | SpearmansCorrelation.java | 141 * @param xArray first data array 147 public double correlation(final double[] xArray, final double[] yArray) argument 149 if (xArray.length != yArray.length) { 151 LocalizedFormats.DIMENSIONS_MISMATCH_SIMPLE, xArray.length, yArray.length); 152 } else if (xArray.length < 2) { 154 LocalizedFormats.INSUFFICIENT_DIMENSION, xArray.length, 2); 156 return new PearsonsCorrelation().correlation(rankingAlgorithm.rank(xArray),
|
H A D | Covariance.java | 213 * @param xArray first data array 220 public double covariance(final double[] xArray, final double[] yArray, boolean biasCorrected) argument 224 int length = xArray.length; 232 double xMean = mean.evaluate(xArray); 235 double xDev = xArray[i] - xMean; 249 * @param xArray first data array 255 public double covariance(final double[] xArray, final double[] yArray) argument 257 return covariance(xArray, yArray, true);
|
H A D | PearsonsCorrelation.java | 222 * @param xArray first data array 228 public double correlation(final double[] xArray, final double[] yArray) throws IllegalArgumentException { argument 230 if (xArray.length != yArray.length) { 231 throw new DimensionMismatchException(xArray.length, yArray.length); 232 } else if (xArray.length < 2) { 234 LocalizedFormats.INSUFFICIENT_DIMENSION, xArray.length, 2); 236 for(int i=0; i<xArray.length; i++) { 237 regression.addData(xArray[i], yArray[i]);
|
/external/skia/src/core/ |
H A D | SkAAClip.cpp | 805 SkTDArray<uint8_t> xArray; local 808 xArray.setReserve(SkMin32(bounds.width() * 128, 64 * 1024)); 824 append_run(xArray, 0, bounds.width() - prevRight); 831 currY->fOffset = xArray.count(); 832 append_run(xArray, 0, bounds.width()); 837 currY->fOffset = xArray.count(); 843 append_run(xArray, 0, x - prevRight); 846 append_run(xArray, 0xFF, w); 851 append_run(xArray, 0, bounds.width() - prevRight); 854 RunHead* head = RunHead::Alloc(yArray.count(), xArray [all...] |
Completed in 204 milliseconds