SG++
python.uq.dists.Uniform.Uniform Class Reference
Inheritance diagram for python.uq.dists.Uniform.Uniform:

Public Member Functions

def __init__ (self, a, b)
 
def __str__ (self)
 
def cdf (self, x)
 
def fromJson (cls, jsonObject)
 
def getBounds (self)
 
def getDim (self)
 
def mean (self)
 
def pdf (self, x)
 
def ppf (self, x)
 
def rvs (self, n=1)
 
def std (self)
 
def toJson (self)
 
def var (self)
 

Detailed Description

Represents a uniform distribution

Constructor & Destructor Documentation

def python.uq.dists.Uniform.Uniform.__init__ (   self,
  a,
  b 
)
Constructor
@param a: lower interval threshold
@param b: upper interval threshold

References python.uq.dists.Lognormal.Lognormal.__a, python.uq.dists.Uniform.Uniform.__a, python.uq.dists.Lognormal.Lognormal.__b, python.uq.dists.Uniform.Uniform.__b, python.uq.dists.MultivariateNormal.MultivariateNormal.__b, python.uq.dists.TNormal.TNormal.__b, python.uq.dists.Normal.Normal.__b, python.uq.dists.Lognormal.Lognormal._dist, python.uq.dists.Beta.Beta._dist, python.uq.dists.Uniform.Uniform._dist, python.uq.dists.Normal.Normal._dist, and python.uq.dists.TNormal.TNormal._dist.

Member Function Documentation

def python.uq.dists.Uniform.Uniform.__str__ (   self)

References python.uq.dists.Lognormal.Lognormal.__a, python.uq.dists.Uniform.Uniform.__a, python.uq.dists.Lognormal.Lognormal.__b, python.uq.dists.Uniform.Uniform.__b, python.uq.dists.MultivariateNormal.MultivariateNormal.__b, python.uq.dists.TNormal.TNormal.__b, and python.uq.dists.Normal.Normal.__b.

def python.uq.dists.Uniform.Uniform.cdf (   self,
  x 
)
def python.uq.dists.Uniform.Uniform.fromJson (   cls,
  jsonObject 
)
Restores the Uniform object from the json object with its
attributes.
@param jsonObject: json object
@return: the restored Uniform object

Referenced by python.uq.sampler.asgc.ASGCSampler.ASGCSampler.setMemento(), python.uq.learner.Learner.Learner.setMemento(), and python.uq.uq_setting.UQSetting.UQSetting.setMemento().

def python.uq.dists.Uniform.Uniform.getBounds (   self)

References python.uq.dists.Lognormal.Lognormal.__a, python.uq.dists.Uniform.Uniform.__a, python.uq.dists.Lognormal.Lognormal.__b, python.uq.dists.Uniform.Uniform.__b, python.uq.dists.MultivariateNormal.MultivariateNormal.__b, python.uq.dists.TNormal.TNormal.__b, and python.uq.dists.Normal.Normal.__b.

def python.uq.dists.Uniform.Uniform.pdf (   self,
  x 
)
def python.uq.dists.Uniform.Uniform.ppf (   self,
  x 
)
def python.uq.dists.Uniform.Uniform.rvs (   self,
  n = 1 
)
def python.uq.dists.Uniform.Uniform.std (   self)

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