org.apache.mahout.math.jet.random
Class Zeta

java.lang.Object
  extended by org.apache.mahout.math.PersistentObject
      extended by org.apache.mahout.math.jet.random.AbstractDistribution
          extended by org.apache.mahout.math.jet.random.AbstractDiscreteDistribution
              extended by org.apache.mahout.math.jet.random.Zeta
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, DoubleFunction, IntFunction, UnaryFunction

Deprecated. until unit tests are in place. Until this time, this class/interface is unsupported.

@Deprecated
public class Zeta
extends AbstractDiscreteDistribution

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.mahout.math.jet.random.AbstractDistribution
randomGenerator
 
Constructor Summary
Zeta(double ro, double pk, RandomEngine randomGenerator)
          Deprecated. Constructs a Zeta distribution.
 
Method Summary
protected  long generateZeta(double ro, double pk, RandomEngine randomGenerator)
          Deprecated. Returns a zeta distributed random number.
 int nextInt()
          Deprecated. Returns a random number from the distribution.
 void setState(double ro, double pk)
          Deprecated. Sets the parameters.
static int staticNextInt(double ro, double pk)
          Deprecated. Returns a random number from the distribution.
 java.lang.String toString()
          Deprecated. Returns a String representation of the receiver.
 
Methods inherited from class org.apache.mahout.math.jet.random.AbstractDiscreteDistribution
nextDouble
 
Methods inherited from class org.apache.mahout.math.jet.random.AbstractDistribution
apply, apply, clone, getRandomGenerator, makeDefaultGenerator, nextByte, nextChar, nextFloat, nextLong, setRandomGenerator
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Zeta

public Zeta(double ro,
            double pk,
            RandomEngine randomGenerator)
Deprecated. 
Constructs a Zeta distribution.

Method Detail

generateZeta

protected long generateZeta(double ro,
                            double pk,
                            RandomEngine randomGenerator)
Deprecated. 
Returns a zeta distributed random number.


nextInt

public int nextInt()
Deprecated. 
Returns a random number from the distribution.

Overrides:
nextInt in class AbstractDistribution

setState

public void setState(double ro,
                     double pk)
Deprecated. 
Sets the parameters.


staticNextInt

public static int staticNextInt(double ro,
                                double pk)
Deprecated. 
Returns a random number from the distribution.


toString

public java.lang.String toString()
Deprecated. 
Returns a String representation of the receiver.

Overrides:
toString in class java.lang.Object


Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.