This file is indexed.

/usr/include/JAGS/function/VectorLogDensity.h is in jags 4.2.0-2.

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
#ifndef VECTOR_LOG_DENSITY_H_
#define VECTOR_LOG_DENSITY_H_

#include <function/VectorFunction.h>

namespace jags {
    
    class VectorDist;

    /**
     * @short Log density function for a vector-valued Distribution
     */
    class VectorLogDensity : public VectorFunction
    {
	VectorDist const *_dist;
    public:
	VectorLogDensity(VectorDist const *dist);
	unsigned int length(std::vector<unsigned int> const &lengths,
			    std::vector<double const *> const &values) const;
	bool checkParameterLength(std::vector<unsigned int> const &lens) const;
	bool checkParameterValue(std::vector<double const *> const &args,
				 std::vector<unsigned int> const &lens) const;
	void evaluate(double *value,
		      std::vector <double const *> const &args,
		      std::vector<unsigned int> const &lens) const;
    };

}

#endif /* VECTOR_LOG_DENSITY_H_ */