/usr/include/JAGS/function/QFunction.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 | #ifndef Q_FUNCTION_H_
#define Q_FUNCTION_H_
#include "DPQFunction.h"
namespace jags {
/**
* @short Quantile function for an R Scalar Distribution
*/
class QFunction : public DPQFunction
{
public:
QFunction(RScalarDist const *dist);
bool checkParameterValue(std::vector<double const *> const &args) const;
double evaluate(std::vector <double const *> const &args) const;
};
}
#endif /* Q_FUNCTION_H_ */
|