Java org.apache.commons.math3.distribution ZipfDistribution fields, constructors, methods, implement or subclass

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

Introduction

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

The text is from its open source code.

Constructor

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

Method

doubleprobability(final int x)
intsample()
The default implementation uses the inversion method.