This file is indexed.

/usr/share/openturns/validation/ValidQuadraticTaylor.txt is in openturns-validation 1.5-7build2.

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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
> restart:
> with(LinearAlgebra):
> Point:=<1,2>:
> center:=Vector(Point):
> "center",evalf(center);
> f:=<x1*sin(x2),cos(x1+x2),(x2+1)*exp(x1-2*x2)>:
> const:=subs(x1=Point[1],x2=Point[2],f):
> "const",evalf(const);
> Df:=<map(_x->diff(_x,x1),f)|map(_x->diff(_x,x2),f)>:
> Linear:=Transpose(subs(x1=Point[1],x2=Point[2],Df)):
> "linear",evalf(Linear);
> Quadratic:=array(1..3):
> Quadratic[1]:=subs(x1=Point[1],x2=Point[2],<<diff(diff(f[1],x1),x1),di
> ff(diff(f[1],x1),x2)>|<diff(diff(f[1],x2),x1),diff(diff(f[1],x2),x2)>>
> ):
> Quadratic[2]:=subs(x1=Point[1],x2=Point[2],<<diff(diff(f[2],x1),x1),di
> ff(diff(f[2],x1),x2)>|<diff(diff(f[2],x2),x1),diff(diff(f[2],x2),x2)>>
> ):
> Quadratic[3]:=subs(x1=Point[1],x2=Point[2],<<diff(diff(f[3],x1),x1),di
> ff(diff(f[3],x1),x2)>|<diff(diff(f[3],x2),x1),diff(diff(f[3],x2),x2)>>
> ):
> "quadratic",map(evalf,Quadratic);
> res:=const+Transpose(Linear).(Point-center)+1/2*<Transpose(Point-cente
> r).Quadratic[1].(Point-center),Transpose(Point-center).Quadratic[2].(P
> oint-center),Transpose(Point-center).Quadratic[3].(Point-center)>:
> evalf(res);
> Point[1]:=Point[1]+0.4:
> Point[2]:=Point[2]-0.4/2:
> evalf(Point);
> res:=const+Transpose(Linear).(Point-center)+1/2*<Transpose(Point-cente
> r).Quadratic[1].(Point-center),Transpose(Point-center).Quadratic[2].(P
> oint-center),Transpose(Point-center).Quadratic[3].(Point-center)>:
> evalf(res);

                                      [1.]
                            "center", [  ]
                                      [2.]


                                [0.9092974268 ]
                                [             ]
                       "const", [-0.9899924966]
                                [             ]
                                [0.1493612051 ]


               [0.9092974268     -0.1411200081    0.1493612051 ]
     "linear", [                                               ]
               [-0.4161468365    -0.1411200081    -0.2489353418]


               [[     0.          -0.4161468365]
  "quadratic", [[                              ],
               [[-0.4161468365    -0.9092974268]

        [0.9899924966    0.9899924966]
        [                            ],
        [0.9899924966    0.9899924966]

        [0.1493612051     -0.2489353418]]
        [                              ]]
        [-0.2489353418    0.3982965470 ]]


                           [0.9092974268 ]
                           [             ]
                           [-0.9899924966]
                           [             ]
                           [0.1493612051 ]


                            [    1.4    ]
                            [           ]
                            [1.800000000]


                           [ 1.371351563 ]
                           [             ]
                           [-0.9984166483]
                           [             ]
                           [0.2987224102 ]

>