Home
last modified time | relevance | path

Searched refs:numberOfElements (Results 1 – 10 of 10) sorted by relevance

/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
DZipfDistributionImpl.java38 private int numberOfElements; field in ZipfDistributionImpl
52 public ZipfDistributionImpl(final int numberOfElements, final double exponent) in ZipfDistributionImpl() argument
54 setNumberOfElementsInternal(numberOfElements); in ZipfDistributionImpl()
64 return numberOfElements; in getNumberOfElements()
94 this.numberOfElements = n; in setNumberOfElementsInternal()
145 if (x <= 0 || x > numberOfElements) { in probability()
149 return (1.0 / FastMath.pow(x, exponent)) / generalizedHarmonic(numberOfElements, exponent); in probability()
163 } else if (x >= numberOfElements) { in cumulativeProbability()
167 return generalizedHarmonic(x, exponent) / generalizedHarmonic(numberOfElements, exponent); in cumulativeProbability()
194 return numberOfElements; in getDomainUpperBound()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DIntVector.java150 public final void addElements(int value, int numberOfElements) in addElements() argument
153 if ((m_firstFree + numberOfElements) >= m_mapSize) in addElements()
155 m_mapSize += (m_blocksize+numberOfElements); in addElements()
164 for (int i = 0; i < numberOfElements; i++) in addElements()
176 public final void addElements(int numberOfElements) in addElements() argument
179 if ((m_firstFree + numberOfElements) >= m_mapSize) in addElements()
181 m_mapSize += (m_blocksize+numberOfElements); in addElements()
190 m_firstFree += numberOfElements; in addElements()
DSuballocatedIntVector.java190 private void addElements(int value, int numberOfElements) in addElements() argument
192 if(m_firstFree+numberOfElements<m_blocksize) in addElements()
193 for (int i = 0; i < numberOfElements; i++) in addElements()
201 m_firstFree+=numberOfElements; in addElements()
202 while( numberOfElements>0) in addElements()
214 int copied=(m_blocksize-offset < numberOfElements) in addElements()
215 ? m_blocksize-offset : numberOfElements; in addElements()
216 numberOfElements-=copied; in addElements()
231 private void addElements(int numberOfElements) in addElements() argument
233 int newlen=m_firstFree+numberOfElements; in addElements()
[all …]
DObjectVector.java150 public final void addElements(Object value, int numberOfElements) in addElements() argument
153 if ((m_firstFree + numberOfElements) >= m_mapSize) in addElements()
155 m_mapSize += (m_blocksize+numberOfElements); in addElements()
164 for (int i = 0; i < numberOfElements; i++) in addElements()
176 public final void addElements(int numberOfElements) in addElements() argument
179 if ((m_firstFree + numberOfElements) >= m_mapSize) in addElements()
181 m_mapSize += (m_blocksize+numberOfElements); in addElements()
190 m_firstFree += numberOfElements; in addElements()
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/
DRandomDataImpl.java687 public int nextZipf(int numberOfElements, double exponent) throws MathException {
688 return nextInversionDeviate(new ZipfDistributionImpl(numberOfElements, exponent));
/external/fio/os/windows/
Dposix.c45 size_t numberOfElements,
/external/guice/extensions/persist/lib/
Dhibernate-annotations.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/hibernate/ org/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.jdt.core_3.11.0.v20150602-1242.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...