Home
last modified time | relevance | path

Searched refs:getN (Results 1 – 25 of 102) sorted by relevance

12345

/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/
DGeometricMean.java109 if (sumOfLogs.getN() > 0) { in getResult()
110 return FastMath.exp(sumOfLogs.getResult() / sumOfLogs.getN()); in getResult()
150 public long getN() { in getN() method in GeometricMean
151 return sumOfLogs.getN(); in getN()
198 if (getN() > 0) { in checkEmpty()
201 getN()); in checkEmpty()
DSkewness.java111 double n0 = moment.getN(); in getResult()
120 public long getN() { in getN() method in Skewness
121 return moment.getN(); in getN()
DKurtosis.java110 if (moment.getN() > 3) { in getResult()
141 public long getN() { in getN() method in Kurtosis
142 return moment.getN(); in getN()
DVectorialMean.java77 public long getN() { in getN() method in VectorialMean
78 return (means.length == 0) ? 0 : means[0].getN(); in getN()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/
DTTestImpl.java215 sampleStats.getN()); in t()
335 sampleStats1.getN(), sampleStats2.getN()); in t()
380 sampleStats1.getN(), sampleStats2.getN()); in homoscedasticT()
489 sampleStats.getN()); in tTest()
779 sampleStats2.getVariance(), sampleStats1.getN(), in tTest()
780 sampleStats2.getN()); in tTest()
823 sampleStats2.getVariance(), sampleStats1.getN(), in homoscedasticTTest()
824 sampleStats2.getN()); in homoscedasticTTest()
1062 if ((stat == null) || (stat.getN() < 2)) { in checkSampleData()
1065 (stat == null) ? 0 : stat.getN()); in checkSampleData()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/
DStatisticalSummaryValues.java98 public long getN() { in getN() method in StatisticalSummaryValues
143 MathUtils.equalsIncludingNaN(stat.getN(), getN()) && in equals()
158 result = result * 31 + MathUtils.hash(getN()); in hashCode()
175 outBuffer.append("n: ").append(getN()).append(endl); in toString()
DAggregateSummaryStatistics.java168 public long getN() { in getN() method in AggregateSummaryStatistics
170 return statistics.getN(); in getN()
267 return new StatisticalSummaryValues(getMean(), getVariance(), getN(), in getSummary()
310 long n = current.getN(); in aggregate()
326 final double curN = current.getN(); in aggregate()
DAbstractStorelessUnivariateStatistic.java170 MathUtils.equalsIncludingNaN(stat.getN(), this.getN()); in equals()
180 return 31* (31 + MathUtils.hash(getResult())) + MathUtils.hash(getN()); in hashCode()
DMultivariateSummaryStatistics.java175 public long getN() { in getN() method in MultivariateSummaryStatistics
245 if (getN() < 1) { in getStandardDeviation()
247 } else if (getN() < 2) { in getStandardDeviation()
312 outBuffer.append("n: " + getN() + suffix); in toString()
380 MathUtils.equalsIncludingNaN(stat.getN(), getN()) && in equals()
399 result = result * 31 + MathUtils.hash(getN()); in hashCode()
DSummaryStatistics.java139 return new StatisticalSummaryValues(getMean(), getVariance(), getN(), in getSummary()
172 public long getN() { in getN() method in SummaryStatistics
219 if (getN() > 0) { in getStandardDeviation()
220 if (getN() > 1) { in getStandardDeviation()
315 outBuffer.append("n: ").append(getN()).append(endl); in toString()
369 MathUtils.equalsIncludingNaN(stat.getN(), getN()) && in equals()
386 result = result * 31 + MathUtils.hash(getN()); in hashCode()
DDescriptiveStatistics.java160 if (getN() == windowSize) { in addValue()
162 } else if (getN() < windowSize) { in addValue()
223 if (getN() > 0) { in getStandardDeviation()
224 if (getN() > 1) { in getStandardDeviation()
273 public long getN() { in getN() method in DescriptiveStatistics
429 outBuffer.append("n: ").append(getN()).append(endl); in toString()
DSynchronizedDescriptiveStatistics.java97 public synchronized long getN() { in getN() method in SynchronizedDescriptiveStatistics
98 return super.getN(); in getN()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DECUtil.java126 …amedDomainParameters(nameOid, nParams.getCurve(), nParams.getG(), nParams.getN(), nParams.getH(), … in getDomainParameters()
132 …domainParameters = new ECDomainParameters(iSpec.getCurve(), iSpec.getG(), iSpec.getN(), iSpec.getH… in getDomainParameters()
136 …domainParameters = new ECDomainParameters(params.getCurve(), params.getG(), params.getN(), params.… in getDomainParameters()
164 …domainParameters = new ECDomainParameters(iSpec.getCurve(), iSpec.getG(), iSpec.getN(), iSpec.getH… in getDomainParameters()
170 …domainParameters = new ECDomainParameters(ecP.getCurve(), ecP.getG(), ecP.getN(), ecP.getH(), ecP.… in getDomainParameters()
187 … new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed())); in generatePublicKeyParameter()
195 … new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed())); in generatePublicKeyParameter()
245 s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed())); in generatePrivateKeyParameter()
251 … new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed())); in generatePrivateKeyParameter()
260 … new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed())); in generatePrivateKeyParameter()
[all …]
DEC5Util.java143 …domainParameters = new ECDomainParameters(iSpec.getCurve(), iSpec.getG(), iSpec.getN(), iSpec.getH… in getDomainParameters()
178 ecP.getN(), in convertToSpec()
199 ecP.getN(), in convertToSpec()
207 ecP.getN(), in convertToSpec()
244 domainParameters.getN(), in convertToSpec()
254 domainParameters.getN(), in convertToSpec()
322 return new ECNamedCurveSpec(name, ellipticCurve, g, spec.getN(), spec.getH()); in convertSpec()
326 return new ECParameterSpec(ellipticCurve, g, spec.getN(), spec.getH().intValue()); in convertSpec()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/util/
DECUtil.java128 …amedDomainParameters(nameOid, nParams.getCurve(), nParams.getG(), nParams.getN(), nParams.getH(), … in getDomainParameters()
134 …domainParameters = new ECDomainParameters(iSpec.getCurve(), iSpec.getG(), iSpec.getN(), iSpec.getH… in getDomainParameters()
138 …domainParameters = new ECDomainParameters(params.getCurve(), params.getG(), params.getN(), params.… in getDomainParameters()
166 …domainParameters = new ECDomainParameters(iSpec.getCurve(), iSpec.getG(), iSpec.getN(), iSpec.getH… in getDomainParameters()
172 …domainParameters = new ECDomainParameters(ecP.getCurve(), ecP.getG(), ecP.getN(), ecP.getH(), ecP.… in getDomainParameters()
189 … new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed())); in generatePublicKeyParameter()
197 … new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed())); in generatePublicKeyParameter()
247 s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed())); in generatePrivateKeyParameter()
253 … new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed())); in generatePrivateKeyParameter()
262 … new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed())); in generatePrivateKeyParameter()
[all …]
DEC5Util.java147 …domainParameters = new ECDomainParameters(iSpec.getCurve(), iSpec.getG(), iSpec.getN(), iSpec.getH… in getDomainParameters()
182 ecP.getN(), in convertToSpec()
203 ecP.getN(), in convertToSpec()
211 ecP.getN(), in convertToSpec()
248 domainParameters.getN(), in convertToSpec()
258 domainParameters.getN(), in convertToSpec()
326 return new ECNamedCurveSpec(name, ellipticCurve, g, spec.getN(), spec.getH()); in convertSpec()
330 return new ECParameterSpec(ellipticCurve, g, spec.getN(), spec.getH().intValue()); in convertSpec()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/util/
DECUtil.java128 …amedDomainParameters(nameOid, nParams.getCurve(), nParams.getG(), nParams.getN(), nParams.getH(), … in getDomainParameters()
134 …domainParameters = new ECDomainParameters(iSpec.getCurve(), iSpec.getG(), iSpec.getN(), iSpec.getH… in getDomainParameters()
138 …domainParameters = new ECDomainParameters(params.getCurve(), params.getG(), params.getN(), params.… in getDomainParameters()
166 …domainParameters = new ECDomainParameters(iSpec.getCurve(), iSpec.getG(), iSpec.getN(), iSpec.getH… in getDomainParameters()
172 …domainParameters = new ECDomainParameters(ecP.getCurve(), ecP.getG(), ecP.getN(), ecP.getH(), ecP.… in getDomainParameters()
189 … new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed())); in generatePublicKeyParameter()
197 … new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed())); in generatePublicKeyParameter()
247 s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed())); in generatePrivateKeyParameter()
253 … new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed())); in generatePrivateKeyParameter()
262 … new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed())); in generatePrivateKeyParameter()
[all …]
DEC5Util.java147 …domainParameters = new ECDomainParameters(iSpec.getCurve(), iSpec.getG(), iSpec.getN(), iSpec.getH… in getDomainParameters()
182 ecP.getN(), in convertToSpec()
203 ecP.getN(), in convertToSpec()
211 ecP.getN(), in convertToSpec()
248 domainParameters.getN(), in convertToSpec()
258 domainParameters.getN(), in convertToSpec()
326 return new ECNamedCurveSpec(name, ellipticCurve, g, spec.getN(), spec.getH()); in convertSpec()
330 return new ECParameterSpec(ellipticCurve, g, spec.getN(), spec.getH().intValue()); in convertSpec()
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/
DEmpiricalDistributionImpl.java143 if (sampleStats.getN() == 0) { in load()
346 ((double) binStats.get(0).getN()) / (double) sampleStats.getN(); in fillBinStats()
349 ((double) binStats.get(i).getN()) / (double) sampleStats.getN(); in fillBinStats()
385 if (stats.getN() > 0) { in getNextValue()
/external/testng/src/test/java/test/factory/
DBaseFactory.java13 public int getN() { in getN() method in BaseFactory
27 return "[" + getClass().getName() + " " + getN() + "]"; in toString()
DFactoryDataProviderTest.java50 Assert.assertEquals(t1.getN(), n1); in runTest()
51 Assert.assertEquals(t2.getN(), n2); in runTest()
/external/testng/src/test/java/test/thread/
DParallelWithFactorySampleTest.java24 protected int getN() { in getN() method in ParallelWithFactorySampleTest
31 addId("f1 " + getN(), Thread.currentThread().getId()); in f1()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DECDomainParameters.java26 this(x9.getCurve(), x9.getG(), x9.getN(), x9.getH(), x9.getSeed()); in ECDomainParameters()
80 public BigInteger getN() in getN() method in ECDomainParameters
144 if (d.compareTo(ECConstants.ONE) < 0 || (d.compareTo(getN()) >= 0)) in validatePrivateScalar()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/params/
DECDomainParameters.java30 this(x9.getCurve(), x9.getG(), x9.getN(), x9.getH(), x9.getSeed()); in ECDomainParameters()
84 public BigInteger getN() in getN() method in ECDomainParameters
148 if (d.compareTo(ECConstants.ONE) < 0 || (d.compareTo(getN()) >= 0)) in validatePrivateScalar()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/params/
DECDomainParameters.java30 this(x9.getCurve(), x9.getG(), x9.getN(), x9.getH(), x9.getSeed()); in ECDomainParameters()
84 public BigInteger getN() in getN() method in ECDomainParameters
148 if (d.compareTo(ECConstants.ONE) < 0 || (d.compareTo(getN()) >= 0)) in validatePrivateScalar()

12345