This file is indexed.

/usr/include/JAGS/function/ArrayLogDensity.h is in jags 4.3.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
#ifndef ARRAY_LOG_DENSITY_H_
#define ARRAY_LOG_DENSITY_H_

#include <function/ArrayFunction.h>

namespace jags {
    
    class ArrayDist;

    /**
     * @short Log density function for an array-valued Distribution
     */
    class ArrayLogDensity : public ArrayFunction
    {
	ArrayDist const *_dist;
    public:
	ArrayLogDensity(ArrayDist const *dist);
	std::vector<unsigned int> dim(
	    std::vector<std::vector<unsigned int> > const &dims,
	    std::vector<double const *> const &values) const;
	bool checkParameterDim(
	    std::vector<std::vector<unsigned int> > const &dims) const;
	bool checkParameterValue(
	    std::vector<double const *> const &args,
	    std::vector<std::vector<unsigned int> > const &dims) const;
	void evaluate(
	    double *value,
	    std::vector <double const *> const &args,
	    std::vector<std::vector<unsigned int> > const &dims) const;
    };

}

#endif /* ARRAY_LOG_DENSITY_H_ */