This file is indexed.

/usr/include/openturns/swig/SpaceFillingC2_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
%define OT_SpaceFillingC2_doc
"Space filling C2 (centered L2-discrepancy) computation.

Notes
-----
Compute the centered L2 discrepancy:

.. math::
    :nowrap:

    \\\\begin{multline*}
    C^2(X_{d}^N) = \\\\left(\\\\frac{13}{12}\\\\right)^{d} - \\\\frac{2}{N} \\\\sum_{i=1}^{N} \\\\prod_{k=1}^{d} \\\\left( 1 + \\\\frac{1}{2} |x_k^{(i)} - 0.5| - \\\\frac{1}{2} |x_k^{(i)} - 0.5|^2 \\\\right)\\\\\\\\
             + \\\\frac{1}{N^2} \\\\sum_{i,j=1}^{N} \\\\prod_{k=1}^{d} \\\\left( 1 + \\\\frac{1}{2} |x_k^{(i)} - 0.5| + \\\\frac{1}{2} |x_k^{(j)} - 0.5| - \\\\frac{1}{2} |x_k^{(i)} - x_k^{(j)}| \\\\right)
    \\\\end{multline*}
"

%enddef
%feature("docstring") OT::SpaceFillingC2
OT_SpaceFillingC2_doc

// ---------------------------------------------------------------------

%define OT_SpaceFillingC2_evaluate_doc
"Compute the C2 criterion for a specific design.

Parameters
----------
design : :class:`~openturns.Sample` or 2d array like
    The design

Returns
-------
crit : float
    The C2 criterion

Examples
--------
>>> import openturns as ot
>>> # Build an LHS using openturns class
>>> lhs = ot.LHSExperiment(ot.Uniform(), 100)
>>> design = lhs.generate()
>>> # Compute the C2 criterion
>>> crit = ot.SpaceFillingC2().evaluate(design)"
%enddef
%feature("docstring") OT::SpaceFillingC2::evaluate
OT_SpaceFillingC2_evaluate_doc

// ---------------------------------------------------------------------