Home
last modified time | relevance | path

Searched refs:yArray (Results 1 – 5 of 5) 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.cpp720 SkTDArray<YOffset> yArray; in setRegion() local
723 yArray.setReserve(std::min(bounds.height(), 1024)); in setRegion()
745 currY = yArray.append(); in setRegion()
751 currY = yArray.append(); in setRegion()
770 RunHead* head = RunHead::Alloc(yArray.count(), xArray.bytes()); in setRegion()
771 memcpy(head->yoffsets(), yArray.begin(), yArray.bytes()); in setRegion()
/external/skqp/src/core/
DSkAAClip.cpp723 SkTDArray<YOffset> yArray; in setRegion() local
726 yArray.setReserve(SkMin32(bounds.height(), 1024)); in setRegion()
748 currY = yArray.append(); in setRegion()
754 currY = yArray.append(); in setRegion()
773 RunHead* head = RunHead::Alloc(yArray.count(), xArray.bytes()); in setRegion()
774 memcpy(head->yoffsets(), yArray.begin(), yArray.bytes()); in setRegion()