25 #include <queso/BasicPdfsGsl.h>
26 #include <gsl/gsl_randist.h>
48 double result = gsl_ran_beta_pdf(x,alpha,beta);
50 std::cerr <<
"In BasicPdfsGsl::betaPdfActualValue(): hitting inf"
52 <<
", alpha = " << alpha
53 <<
", beta = " << beta
65 return gsl_ran_gamma_pdf(x,a,b);
BasicPdfsGsl()
Default constructor.
double betaPdfActualValue(double x, double alpha, double beta) const
TODO: Actual value of the Beta PDF.
double gammaPdfActualValue(double x, double a, double b) const
TODO: Actual value of the Gamma PDF.
TODO: Base class for basic PDFs (via either GSL or Boost).
~BasicPdfsGsl()
Destructor.