Package jdistlib

Class MaxwellBoltzmann


public class MaxwellBoltzmann extends GenericDistribution
Maxwell-Boltzmann speed distribution using the conventional scale sigma, the common standard deviation of three independent centered normal coordinates.

This is the same probability law as Maxwell, with rate = 1 / (sigma * sigma).

  • Constructor Details

    • MaxwellBoltzmann

      public MaxwellBoltzmann(double sigma)
  • Method Details

    • density

      public static double density(double x, double sigma, boolean giveLog)
    • cumulative

      public static double cumulative(double x, double sigma, boolean lowerTail, boolean logP)
    • quantile

      public static double quantile(double p, double sigma, boolean lowerTail, boolean logP)
    • random

      public static double random(double sigma, RandomEngine random)
    • random

      public static double[] random(int n, double sigma, RandomEngine random)
    • density

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

      public double cumulative(double x, boolean lowerTail, boolean logP)
      Specified by:
      cumulative in class GenericDistribution
    • quantile

      public double quantile(double p, boolean lowerTail, boolean logP)
      Specified by:
      quantile in class GenericDistribution
    • random

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