Java org.apache.commons.math.distribution ZipfDistributionImpl fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.math.distribution ZipfDistributionImpl fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.math.distribution ZipfDistributionImpl.

The text is from its open source code.

Constructor

ZipfDistributionImpl(final int numberOfElements, final double exponent)
Create a new Zipf distribution with the given number of elements and exponent.

Method

intinverseCumulativeProbability(final double p)
For a random variable X whose values are distributed according to this distribution, this method returns the largest x, such that P(X ≤ x) ≤ p.