[18a63e]: / src / include / function / PFunction.h  Maximize  Restore  History

Download this file

22 lines (16 with data), 455 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef P_FUNCTION_H_
#define P_FUNCTION_H_
#include "DPQFunction.h"
namespace jags {
/**
* @short Cumulative distribution function for an R Scalar distribution
*/
class PFunction : public DPQFunction
{
public:
PFunction(RScalarDist const *dist);
bool checkParameterValue(std::vector<double const *> const &args) const;
double evaluate(std::vector <double const *> const &args) const;
};
}
#endif /* P_FUNCTION_H_ */