This file is indexed.

/usr/include/JAGS/function/DPQFunction.h is in jags 4.1.0-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
#ifndef DPQ_FUNCTION_H_
#define DPQ_FUNCTION_H_

#include <function/ScalarFunction.h>

namespace jags {

    class RScalarDist;

    /**
     * @short Functions derived from R Scalar distributions
     *
     * The DPQFunction class exposes member functions of the class
     * RScalarDist as BUGS functions so that they can be called by the
     * user. These are the density (D), cumulative probability (P),
     * and quantile (Q) functions.
     *
     * D-P-Q functions are generated automatically when an
     * RScalarFunction is inserted into the Module.
     *
     * @seealso Module#insert
     */
    class DPQFunction : public ScalarFunction
    {
	RScalarDist const *_dist;
    public:
	DPQFunction(std::string const &name, RScalarDist const *dist);
	/**
         * Returns the distribution from which the function is derived
         */
	RScalarDist const *dist() const;
	/**
	 * If an RScalarDist has m parameters, then a DPQFunction
	 * derived from it will have (m+1) arguments. To check the
	 * validity of the arguments, we strip off the first one and
	 * then pass the rest to ScalarDist#checkParameterValue
         */
	bool checkArgs(std::vector<double const *> const &args) const;
    };

}

#endif /* DPQ_FUNCTION_H_ */