This file is indexed.

/usr/include/CLHEP/GenericFunctions/DefiniteIntegral.hh is in libclhep-dev 2.1.4.1-1.1.

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
// -*- C++ -*-
// $Id: DefiniteIntegral.hh,v 1.2 2003/09/06 14:04:13 boudreau Exp $
//-------------------------------------------------------------//
//                                                             //
// This functional performs Romberg integration on a function  //
// between lower bound and upper bound b.                      //
//                                                             //
// Two types:  OPEN: use open quadrature formula               //
//                   for improper integrals                    //
//             CLOSED (default) use closed quadrature          //
//                   formula.                                  //
//                                                             //
//-------------------------------------------------------------//

#ifndef _DefiniteIntegral_h_
#define _DefiniteIntegral_h_
#include "CLHEP/GenericFunctions/AbsFunctional.hh"

namespace Genfun {

  /**
   * @author
   * @ingroup genfun
   */
  class DefiniteIntegral:public AbsFunctional {

  public:
  
    // Type definition:
    typedef enum {CLOSED, OPEN} Type;

    // Constructor:
    DefiniteIntegral(double a, double b, Type=CLOSED);

    // Copy Constructor:
    DefiniteIntegral(const DefiniteIntegral &);

    // Assignment Operator:
    DefiniteIntegral & operator=(const DefiniteIntegral &) ;

    // Destructor:
    ~DefiniteIntegral();

    // Take the definite integral of a function between the bounds:
    virtual double operator [] (const AbsFunction & function) const;

    // Retrieve the number of function calls for the last operation:
    unsigned int numFunctionCalls() const;

    // Algorithmic parameters:
    
    // Desired precision (default 1.0E-06)
    void setEpsilon(double eps);

    // Maximum number of iterations (default 20(closed) 14 (open))
    void setMaxIter (unsigned int maxIter);

    // Minimum order:
    void setMinOrder (unsigned int order);


  private:

    class Clockwork;
    Clockwork *c;

  };
} // namespace Genfun
#endif