ChaospyDistribution

class ChaospyDistribution(dist)

Allow to override Distribution from a chaospy distribution.

Parameters
dista chaospy.stats distribution

The distribution to wrap. It is currently limited to 1D distributions as chaopy multivariate distributions don’t implement CDF computation.

Examples

>>> import openturns as ot
>>> # import chaospy as cp
>>> # chaospy_dist = st.Triangular(1.0, 2.0, 3.0)
>>> # distribution = ot.Distribution(ot.ChaospyDistribution(chaospy_dist))
>>> # distribution.getRealization()

Methods

computeCDF(self, X)

CDF accessor.

getDimension(self)

Dimension accessor.

computePDF

computeQuantile

computeScalarQuantile

getRange

getRealization

getSample

__init__(self, dist)

Constructor.

computeCDF(self, X)

CDF accessor.

getDimension(self)

Dimension accessor.