1%feature("docstring") OT::GaussProductExperiment
2"Gauss product experiment.
3
4Available constructors:
5    GaussProductExperiment(*marginalDegrees*)
6
7    GaussProductExperiment(*distribution*)
8
9    GaussProductExperiment(*distribution, marginalDegrees*)
10
11Parameters
12----------
13marginalDegrees : sequence of positive int
14    Numbers of points :math:`N_i` for each direction. Then, the total number of
15    points generated is :math:`cardI=\prod_{i=1}^n N_i`. If not specified,
16    each value :math:`N_i` is :math:`5`.
17distribution :
18    Distribution :math:`\mu` of dimension :math:`n` with an independent copula.
19
20Notes
21-----
22The number of points for each direction doesn't change and the :meth:`generate`
23method always gives the same sample.
24
25See also
26--------
27WeightedExperiment
28
29Examples
30--------
31>>> import openturns as ot
32>>> distribution = ot.ComposedDistribution([ot.Exponential(), ot.Triangular(-1.0, -0.5, 1.0)])
33>>> marginalDegrees = [3, 2]
34>>> experiment = ot.GaussProductExperiment(distribution, marginalDegrees)
35>>> print(experiment.generate())
36    [ X0        X1        ]
370 : [  0.415775 -0.511215 ]
381 : [  2.29428  -0.511215 ]
392 : [  6.28995  -0.511215 ]
403 : [  0.415775  0.357369 ]
414 : [  2.29428   0.357369 ]
425 : [  6.28995   0.357369 ]"
43
44// ---------------------------------------------------------------------
45
46%feature("docstring") OT::GaussProductExperiment::getMarginalDegrees
47"Get the marginal degrees.
48
49Returns
50-------
51marginalDegrees : :class:`~openturns.Indices`
52    Numbers of points :math:`N_i` for each direction."
53
54// ---------------------------------------------------------------------
55
56%feature("docstring") OT::GaussProductExperiment::setMarginalDegrees
57"Set the marginal degrees.
58
59Parameters
60----------
61marginalDegrees : sequence of positive int
62    Numbers of points :math:`N_i` for each direction."
63