Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[082b02]: src / modules / bugs / functions / Probit.h Maximize Restore History

Download this file

Probit.h    28 lines (22 with data), 539 Bytes

 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
#ifndef FUNC_PROBIT_H_
#define FUNC_PROBIT_H_
#include <function/ScalarFunction.h>
namespace jags {
namespace bugs {
/**
* @short Normal quantile function
* @see Phi
* <pre>
* y <- probit(p)
* Prob(Y < y) = p for Y ~ N(0,1); 0 < p < 1
* </pre>
*/
class Probit : public ScalarFunction
{
public:
Probit ();
double evaluate(std::vector<double const *> const &args) const;
bool checkParameterValue(std::vector<double const *> const &args) const;
};
}}
#endif /* FUNC_PROBIT_H_ */