ChaospyDistribution

class ChaospyDistribution(dist)

Allow to override Distribution from a chaospy distribution.

Parameters:
dist : a 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  
computePDF  
computeQuantile  
computeScalarQuantile  
getDimension  
getRange  
getRealization  
getSample  
__init__(dist)

Initialize self. See help(type(self)) for accurate signature.