SSJ  3.3.1
Stochastic Simulation in Java
Public Member Functions | List of all members
Distribution Interface Reference

This interface should be implemented by all classes supporting discrete and continuous distributions. More...

Inheritance diagram for Distribution:
[legend]

Public Member Functions

double cdf (double x)
 Returns the distribution function \(F(x)\). More...
 
double barF (double x)
 Returns \(\bar{F}(x) = 1 - F(x)\). More...
 
double inverseF (double u)
 Returns the inverse distribution function \(F^{-1}(u)\), defined in ( inverseF ). More...
 
double getMean ()
 Returns the mean of the distribution function.
 
double getVariance ()
 Returns the variance of the distribution function.
 
double getStandardDeviation ()
 Returns the standard deviation of the distribution function.
 
double [] getParams ()
 Returns the parameters of the distribution function in the same order as in the constructors.
 

Detailed Description

This interface should be implemented by all classes supporting discrete and continuous distributions.

It specifies the signature of methods that compute the distribution function \(F(x)\), the complementary distribution function \(\bar{F}(x)\), and the inverse distribution function \( F^{-1} (u)\). It also specifies the signature of methods that returns the mean, the variance and the standard deviation.

Member Function Documentation

◆ barF()

double barF ( double  x)

◆ cdf()

double cdf ( double  x)

◆ inverseF()

double inverseF ( double  u)

The documentation for this interface was generated from the following file: