This file is indexed.

/usr/include/openturns/swig/QuadraticFunction.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
// SWIG file QuadraticFunction.i

%{
#include "openturns/QuadraticFunction.hxx"
%}

%include QuadraticFunction_doc.i

%include openturns/QuadraticFunction.hxx
namespace OT { %extend QuadraticFunction { QuadraticFunction(const QuadraticFunction & other) { return new OT::QuadraticFunction(other); } } }

%pythoncode %{
# deprecated
class QuadraticNumericalMathFunction(QuadraticFunction):
    def __init__(self, *args):
        super(QuadraticNumericalMathFunction, self).__init__(*args)
        openturns.common.Log.Warn('class QuadraticNumericalMathFunction is deprecated in favor of QuadraticFunction')
%}