This file is indexed.

/usr/include/JAGS/sampler/Linear.h is in jags 3.4.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
44
45
46
47
48
49
50
51
52
53
54
55
56
#ifndef LINEAR_H_
#define LINEAR_H_

#include<vector>

class GraphView;

/**
 * Helper function to check linearity. The function returns true if
 * all deterministic descendants within the given GraphView are linear
 * functions.
 *
 * @param gv GraphView to be tested.
 *
 * @param fixed Boolean flag. If true, the function checks for fixed
 * linear functions.
 *
 * @param link Boolean flag. If true, then the function tests for a
 * generalized linear model, allowing the last deterministic
 * descendants (i.e. those with no deterministic children) to be link
 * functions.
 *
 * @see Node#isClosed
 */
bool checkLinear(GraphView const *gv, bool fixed, bool link=false);

/**
 * Helper function to check for scale transformations. The function
 * returns true if all deterministic children within the given
 * GraphView are scale transformations or scale-mixture
 * transformations.
 *
 * @param gv GraphView to be tested.
 *
 * @param fixed Boolean flag. If true, the function checks for fixed
 * scale transformations.
 *
 * @see Node#isClosed
 */
bool checkScale(GraphView const *gv, bool fixed);

/**
 * Helper function to check for power transformations. The function
 * returns true if all deterministic descendants of the given node
 * (within the given graph) are power transformations.
 *
 * @param gv GraphView to be tested.
 *
 * @param fixed Boolean flag. If true, the function checks for fixed
 * power transformations.
 *
 * @see Node#isClosed
 */
bool checkPower(GraphView const *gv, bool fixed);

#endif /* LINEAR_H_ */