This file is indexed.

/usr/include/JAGS/rng/RmathRNG.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
31
32
#ifndef RMATH_RNG_H_
#define RMATH_RNG_H_

#include <rng/RNG.h>

namespace jags {

enum NormKind {AHRENS_DIETER, BOX_MULLER, KINDERMAN_RAMAGE};

/**
 * @short RNG object based on the R math library
 * 
 * An RmathRNG object implements the normal and exponential functions
 * using code from the R math library.  
 */
class RmathRNG : public RNG
{
    NormKind _N01_kind;
    double _BM_norm_keep;
public:
    /**
     * @param norm_kind Defines the algorithm for producing normal random
     * variables
     */
    RmathRNG(std::string const &name, NormKind norm_kind);
    double normal();
    double exponential();
};

} /* namespace jags */

#endif /* RMATH_RNG_H_ */