This file is indexed.

/usr/share/openturns/validation/ValidQuadraticFunction.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
> restart:
> with(LinearAlgebra):
> center:=<-1,1/2,1>;
> const:=<-1,2>;
> Linear:=<<1,2,3>|<4,5,6>>;
> Quadratic:=array(1..2):
> Quadratic[1]:=<<7,8,9>|<8,10,11>|<9,11,12>>;
> Quadratic[2]:=<<-7,-8,-9>|<-8,-10,-11>|<-9,-11,-12>>;
> Point:=<7,8,9>;
> res:=const+Transpose(Linear).(Point-center)+1/2*<Transpose(Point-cente
> r).Quadratic[1].(Point-center),Transpose(Point-center).Quadratic[2].(P
> oint-center)>;
> evalf(res);

                                     [-1 ]
                                     [   ]
                           center := [1/2]
                                     [   ]
                                     [ 1 ]


                                     [-1]
                            const := [  ]
                                     [ 2]


                                    [1    4]
                                    [      ]
                          Linear := [2    5]
                                    [      ]
                                    [3    6]


                                   [7     8     9]
                                   [             ]
                   Quadratic[1] := [8    10    11]
                                   [             ]
                                   [9    11    12]


                                  [-7     -8     -9]
                                  [                ]
                  Quadratic[2] := [-8    -10    -11]
                                  [                ]
                                  [-9    -11    -12]


                                      [7]
                                      [ ]
                             Point := [8]
                                      [ ]
                                      [9]


                                  [10605/4]
                           res := [       ]
                                  [-9943/4]


                            [2651.250000 ]
                            [            ]
                            [-2485.750000]

>