public class BreitWignerMeanSquare extends BreitWigner
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++).
| Modifier and Type | Field and Description |
|---|---|
protected static BreitWigner |
shared |
protected Uniform |
uniform |
cut, gamma, meanrandomGeneratorserialVersionUID| Constructor and Description |
|---|
BreitWignerMeanSquare(double mean,
double gamma,
double cut,
RandomEngine randomGenerator)
Constructs a mean-squared BreitWigner distribution.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
nextDouble, setState, toStringapply, apply, getRandomGenerator, makeDefaultGenerator, nextInt, setRandomGeneratorprotected Uniform uniform
protected static BreitWigner shared
public BreitWignerMeanSquare(double mean,
double gamma,
double cut,
RandomEngine randomGenerator)
cut - cut==Double.NEGATIVE_INFINITY indicates "don't cut".public Object clone()
clone in class AbstractDistributionpublic double nextDouble(double mean,
double gamma,
double cut)
nextDouble in class BreitWignercut - 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".Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.