BreitWigner
cern.jet.random

Class BreitWigner

    • Constructor Detail

      • BreitWigner

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

      • nextDouble

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

        public void setState(double mean,            double gamma,            double cut)
        Sets the mean, gamma and cut parameters.
        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".
      • toString

        public String toString()
        Returns a String representation of the receiver.
        Overrides:
        toString in class Object

SCaVis 1.8 © jWork.org