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

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.AbstractContinousDistribution
              extended by org.apache.mahout.math.jet.random.Logarithmic
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 Logarithmic
extends AbstractContinousDistribution

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.mahout.math.jet.random.AbstractDistribution
randomGenerator
 
Constructor Summary
Logarithmic(double p, RandomEngine randomGenerator)
          Deprecated. Constructs a Logarithmic distribution.
 
Method Summary
 double nextDouble()
          Deprecated. Returns a random number from the distribution.
 double nextDouble(double a)
          Deprecated. Returns a random number from the distribution; bypasses the internal state.
 void setState(double p)
          Deprecated. Sets the distribution parameter.
static double staticNextDouble(double p)
          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.AbstractDistribution
apply, apply, clone, getRandomGenerator, makeDefaultGenerator, nextByte, nextChar, nextFloat, nextInt, nextLong, setRandomGenerator
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Logarithmic

public Logarithmic(double p,
                   RandomEngine randomGenerator)
Deprecated. 
Constructs a Logarithmic distribution.

Method Detail

nextDouble

public double nextDouble()
Deprecated. 
Returns a random number from the distribution.

Specified by:
nextDouble in class AbstractDistribution

nextDouble

public double nextDouble(double a)
Deprecated. 
Returns a random number from the distribution; bypasses the internal state.


setState

public void setState(double p)
Deprecated. 
Sets the distribution parameter.


staticNextDouble

public static double staticNextDouble(double p)
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.