|
Parallel Colt 0.9.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcern.colt.PersistentObject
cern.jet.random.tdouble.AbstractDoubleDistribution
cern.jet.random.tdouble.AbstractContinousDoubleDistribution
cern.jet.random.tdouble.BreitWigner
cern.jet.random.tdouble.BreitWignerMeanSquare
public class BreitWignerMeanSquare
Mean-square BreitWigner distribution; See the math definition.
Instance methods operate on a user supplied uniform random number generator; they are unsynchronized.
Implementation: This is a port of RandBreitWigner used in CLHEP 1.4.0 (C++).
Constructor Summary | |
---|---|
BreitWignerMeanSquare(double mean,
double gamma,
double cut,
DoubleRandomEngine randomGenerator)
Constructs a mean-squared BreitWigner distribution. |
Method Summary | |
---|---|
Object |
clone()
Returns a deep copy of the receiver; the copy will produce identical sequences. |
double |
nextDouble(double mean,
double gamma,
double cut)
Returns a mean-squared random number from the distribution; bypasses the internal state. |
static double |
staticNextDouble(double mean,
double gamma,
double cut)
Returns a random number from the distribution. |
Methods inherited from class cern.jet.random.tdouble.BreitWigner |
---|
nextDouble, setState, toString |
Methods inherited from class cern.jet.random.tdouble.AbstractDoubleDistribution |
---|
apply, apply, makeDefaultGenerator, nextInt |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BreitWignerMeanSquare(double mean, double gamma, double cut, DoubleRandomEngine randomGenerator)
cut
- cut==Double.NEGATIVE_INFINITY indicates "don't cut".Method Detail |
---|
public Object clone()
clone
in class AbstractDoubleDistribution
public double nextDouble(double mean, double gamma, double cut)
nextDouble
in class BreitWigner
cut
- cut==Double.NEGATIVE_INFINITY indicates "don't cut".public static double staticNextDouble(double mean, double gamma, double cut)
cut
- cut==Double.NEGATIVE_INFINITY indicates "don't cut".
|
Parallel Colt 0.9.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |