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

Download this file

28 lines (22 with data), 557 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_CLOGLOG_H_
#define FUNC_CLOGLOG_H_
#include <function/ScalarFunction.h>
namespace jags {
namespace bugs {
/**
* @short the complementary log log link function
* @see ICLogLog
* <pre>
* y <- cloglog(p)
* y = log(-log(1-p)) for 0 < p < 1
* </pre>
*/
class CLogLog : public ScalarFunction
{
public:
CLogLog ();
double evaluate(std::vector<double const *> const &args) const;
bool checkParameterValue (std::vector<double const *> const &args) const;
};
}}
#endif /* FUNC_CLOGLOG_H_ */