BreitWignerMeanSquare
cern.jet.random

Class BreitWignerMeanSquare

    • Constructor Detail

      • BreitWignerMeanSquare

        public BreitWignerMeanSquare(double mean,                     double gamma,                     double cut,                     RandomEngine randomGenerator)
        Constructs a mean-squared BreitWigner distribution.
        Parameters:
        cut - cut==Double.NEGATIVE_INFINITY indicates "don't cut".
    • Method Detail

      • clone

        public Object clone()
        Returns a deep copy of the receiver; the copy will produce identical sequences. After this call has returned, the copy and the receiver have equal but separate state.
        Overrides:
        clone in class AbstractDistribution
        Returns:
        a copy of the receiver.
      • nextDouble

        public double nextDouble(double mean,                double gamma,                double cut)
        Returns a mean-squared random number from the distribution; bypasses the internal state.
        Overrides:
        nextDouble in class BreitWigner
        Parameters:
        cut - cut==Double.NEGATIVE_INFINITY indicates "don't cut".
      • staticNextDouble

        public static double staticNextDouble(double mean,                      double gamma,                      double cut)
        Returns a random number from the distribution.
        Parameters:
        cut - cut==Double.NEGATIVE_INFINITY indicates "don't cut".

SCaVis 1.8 © jWork.org