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

Download this file

27 lines (21 with data), 501 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
#ifndef FUNC_LOGGAM_H_
#define FUNC_LOGGAM_H_
#include <function/ScalarFunction.h>
namespace jags {
namespace bugs {
/**
* @short Log gamma function
* <pre>
* y <- loggam(x)
* y = log(gamma(x)) for x > 0
* </pre>
*/
class LogGam:public ScalarFunction
{
public:
LogGam ();
double evaluate(std::vector<double const *> const &args) const;
bool checkParameterValue(std::vector<double const *> const &args) const;
};
}}
#endif /* FUNC_LOGGAM_H_ */

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks