Home
last modified time | relevance | path

Searched refs:yArray (Results 1 – 4 of 4) sorted by relevance

/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/correlation/
DCovariance.java220 public double covariance(final double[] xArray, final double[] yArray, boolean biasCorrected) in covariance() argument
225 if (length != yArray.length) { in covariance()
227 LocalizedFormats.DIMENSIONS_MISMATCH_SIMPLE, length, yArray.length); in covariance()
233 double yMean = mean.evaluate(yArray); in covariance()
236 double yDev = yArray[i] - yMean; in covariance()
255 public double covariance(final double[] xArray, final double[] yArray) in covariance() argument
257 return covariance(xArray, yArray, true); in covariance()
DSpearmansCorrelation.java147 public double correlation(final double[] xArray, final double[] yArray) in correlation() argument
149 if (xArray.length != yArray.length) { in correlation()
151 LocalizedFormats.DIMENSIONS_MISMATCH_SIMPLE, xArray.length, yArray.length); in correlation()
157 rankingAlgorithm.rank(yArray)); in correlation()
DPearsonsCorrelation.java228 …public double correlation(final double[] xArray, final double[] yArray) throws IllegalArgumentExce… in correlation() argument
230 if (xArray.length != yArray.length) { in correlation()
231 throw new DimensionMismatchException(xArray.length, yArray.length); in correlation()
237 regression.addData(xArray[i], yArray[i]); in correlation()
/external/skia/src/core/
DSkAAClip.cpp804 SkTDArray<YOffset> yArray; in setRegion() local
807 yArray.setReserve(SkMin32(bounds.height(), 1024)); in setRegion()
829 currY = yArray.append(); in setRegion()
835 currY = yArray.append(); in setRegion()
854 RunHead* head = RunHead::Alloc(yArray.count(), xArray.bytes()); in setRegion()
855 memcpy(head->yoffsets(), yArray.begin(), yArray.bytes()); in setRegion()