This file is indexed.

/usr/include/openturns/swig/Mixture_doc.i is in libopenturns-dev 1.9-5.

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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
%feature("docstring") OT::Mixture
"Build a linear combination of probability density functions.

Parameters
----------
collDist : :class:`~openturns.Distribution`,
    The collection of distributions wich compose the linear combination.
weights : sequence of float, optional
    A sequence with each component :math:`\\\\geq 0`, of dimension equal to the
    size of *collDist*. The collection of weights applied to the collection of
    distributions. By default, OpenTURNS takes the weights fulfilled inside
    each distribution (if any) thanks to the method
    *collDist[i].setWeight(myWeight)*. If not fulfilled, the weights are all
    taken equal to 1. The weights are automatically normalized so that their
    sum is equal to 1.

Notes
-----
The probability density function of a *Mixture* is defined by:

.. math::

    f(x) =  \\\\sum_{i=1}^N \\\\alpha_i p_i(x), \\\\quad \\\\alpha_i \\\\geq 0, \\\\quad \\\\sum_i \\\\alpha_i = 1

Examples
--------
Create a *Mixture*:

>>> import openturns as ot
>>> collDist = [ot.Triangular(1.0, 2.0, 4.0), ot.Normal(-1.0, 1.0), ot.Uniform(5.0, 6.0)]
>>> weight = [0.4, 1.0, 0.2]
>>> myMixture = ot.Mixture(collDist, weight)
"

// ---------------------------------------------------------------------
%feature("docstring") OT::Mixture::getDistributionCollection
"Accessor to the distribution collection.

Returns
-------
collDist : :class:`~openturns.Distribution`,
    The collection of distributions wich compose the linear combination."

// ---------------------------------------------------------------------
%feature("docstring") OT::Mixture::setDistributionCollection
"Set the distribution collection.

Parameters
----------
collDist : :class:`~openturns.Distribution`,
    The collection of distributions wich compose the linear combination."

// ---------------------------------------------------------------------
%feature("docstring") OT::Mixture::getWeights
"Get the weights.

Returns
-------
weights : :class:`~openturns.Point` with each component :math:`\\\\geq 0`."



// ---------------------------------------------------------------------
%feature("docstring") OT::Mixture::setWeights
"Set the weights.

Parameters
----------
weights : sequence of float with each component :math:`\\\\geq 0`."