This file is indexed.

/usr/include/openturns/swig/IdentityMatrix.i is in libopenturns-dev 0.15-2.

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
// SWIG file IdentityMatrix.i
// Author : $LastChangedBy: conty $
// Date : $LastChangedDate: 2007-12-02 23:19:20 +0100 (Sun, 02 Dec 2007) $
// Id : $Id: IdentityMatrix.i 693 2007-12-02 22:19:20Z conty $

%{
#include "IdentityMatrix.hxx"
%}

%include IdentityMatrix.hxx

namespace OpenTURNS { namespace Base { namespace Type {

%extend IdentityMatrix {
	NumericalScalar __getitem__(PyObject * args) const {

          OpenTURNS::UnsignedLong arg2 ;
          OpenTURNS::UnsignedLong arg3 ;
          unsigned long val2 ;
          int ecode2 = 0 ;
          unsigned long val3 ;
          int ecode3 = 0 ;
          PyObject * obj1 = 0 ;
          PyObject * obj2 = 0 ;

          if (!PyArg_ParseTuple(args,(char *)"OO:IdentityMatrix___getitem__",&obj1,&obj2)) SWIG_fail;

          ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
          if (!SWIG_IsOK(ecode2)) {
            SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IdentityMatrix___getitem__" "', argument " "2"" of type '" "OpenTURNS::UnsignedLong""'");
          }
          arg2 = static_cast< OpenTURNS::UnsignedLong >(val2);


          ecode3 = SWIG_AsVal_unsigned_SS_long(obj2, &val3);
          if (!SWIG_IsOK(ecode3)) {
            SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IdentityMatrix___getitem__" "', argument " "3"" of type '" "OpenTURNS::UnsignedLong""'");
          }
          arg3 = static_cast< OpenTURNS::UnsignedLong >(val3);

          return (*self)(arg2,arg3);
fail:
          return 0.;
	}

	void __setitem__(PyObject * args, NumericalScalar val) {

          SWIG_exception_fail(SWIG_RuntimeError, "method IdentityMatrix___setitem__ is not available because these matrices are read-only");
fail:
	  return;
	}

};

}}}
namespace OpenTURNS{ namespace Base { namespace Type { %extend IdentityMatrix { IdentityMatrix(const IdentityMatrix & other) { return new OpenTURNS::Base::Type::IdentityMatrix(other); } } }}}