/usr/include/openturns/swig/ParametrizedDistribution_doc.i is in libopenturns-dev 1.7-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | %feature("docstring") OT::ParametrizedDistribution
"Parametrized distribution.
Available constructors:
ParametrizedDistribution(*parameters*)
Parameters
----------
parameters : :class:`~openturns.DistributionParameters`
Parameters of the distribution to be created.
See also
--------
Distribution
Notes
-----
A *ParametrizedDistribution* object enables to create a distribution with
non-native parameters defined thanks to the class
:class:`~openturns.DistributionParameters`.
Examples
--------
Create the parameters of the Gamma distribution:
>>> import openturns as ot
>>> parameters = ot.GammaMuSigma(1.5, 2.5, -0.5)
Create the distribution:
>>> distribution = ot.ParametrizedDistribution(parameters)
Draw a sample:
>>> sample = distribution.getSample(10)"
|