1%feature("docstring") OT::BlockIndependentDistribution
2"Merge of a collection of independent distributions.
3
4Parameters
5----------
6distributions : list of :class:`~openturns.Distribution`.
7    The distributions of the independent blocks.
8
9Notes
10-----
11Let's :math:`X_1\, \dots, X_K`:math:`K` independent random vectors of respective dimension :math:`n_i \geq 1` and cumulative distribution functions :math:`F_1,\dots, F_K`. The :class:`~openturns.BlockIndependentDistribution` is the distribution of the random vector :math:`X` of dimension :math:`d = n_1 + \dots + n_K` of cumulative distribution function :math:`F` defined by:
12
13.. math::
14
15    F(x_1, \dots, x_K) = F_1(x_1) \dots F_K(x_K)
16
17where :math:`x_i\in\Rset^{n_1},\dots,x_K\in\Rset^{n_K}`.
18
19
20Examples
21--------
22Create a distribution:
23
24>>> import openturns as ot
25>>> R = ot.CorrelationMatrix(2)
26>>> R[0, 1] = 0.5
27>>> d1 =  ot.ComposedDistribution([ot.Uniform(), ot.Triangular(1.0, 2.0, 3.0)], NormalCopula(R))
28>>> d2 = ot.Normal(2)
29>>> collection = [d1, d2]
30>>> dist = ot.BlockIndependentDistribution(collection)
31
32Get a sample:
33
34>>> sample = dist.getSample(5)"
35
36// ---------------------------------------------------------------------
37
38%feature("docstring") OT::BlockIndependentDistribution::getDistributionCollection
39"Accessor to the list of the distributions.
40
41Returns
42-------
43distributions : list of distributions
44    The collection of the distributions to be merged."
45
46// ---------------------------------------------------------------------
47
48%feature("docstring") OT::BlockIndependentDistribution::setDistributionCollection
49"Accessor to the list of the codistributionspulas.
50
51Parameters
52----------
53distributions : list of distributions
54    The collection of distributions to be merged."
55
56
57