Package jdistlib.evd

Class Extreme


public class Extreme extends GenericDistribution
Extreme distribution. Taken from EVD package of R
  • Field Details

    • mlen

      protected int mlen
    • largest

      protected boolean largest
    • dist

      protected GenericDistribution dist
  • Constructor Details

  • Method Details

    • density

      public static final double density(double x, GenericDistribution dist, int mlen, boolean largest, boolean log)
    • cumulative

      public static final double cumulative(double x, GenericDistribution dist, int mlen, boolean largest, boolean lower)
    • cumulative

      public static final double cumulative(double x, GenericDistribution dist, int mlen, boolean largest, boolean lower, boolean logP)
    • quantile

      public static final double quantile(double p, GenericDistribution dist, int mlen, boolean largest, boolean lower)
    • quantile

      public static final double quantile(double p, GenericDistribution dist, int mlen, boolean largest, boolean lower, boolean logP)
    • random

      public static final double random(GenericDistribution dist, int mlen, boolean largest, RandomEngine random)
    • random

      public static final double[] random(int n, GenericDistribution dist, int mlen, boolean largest, RandomEngine random)
    • density

      public double density(double x, boolean log)
      Specified by:
      density in class GenericDistribution
    • cumulative

      public double cumulative(double p, boolean lower_tail, boolean log_p)
      Specified by:
      cumulative in class GenericDistribution
    • quantile

      public double quantile(double q, boolean lower_tail, boolean log_p)
      Specified by:
      quantile in class GenericDistribution
    • random

      public double random()
      Specified by:
      random in class GenericDistribution