prior_gaussian Class Reference
Defines the gaussian prior class. More...
#include "likelihood/prior_gaussian.h"
Inheritance diagram for prior_gaussian:

Collaboration diagram for prior_gaussian:

Public Member Functions | |
prior_gaussian (double mean, double sigma) | |
Gaussian prior class constructor, accepts the mean and the standard deviation as input. More... | |
virtual double | operator() (double x) |
Overloaded paranthesis operator to return the log-prior for each input value. | |
virtual double | derivative (double x) |
Derivative operator. | |
virtual double | lower_bound () |
Overloaded bounds operators. | |
virtual double | upper_bound () |
Private Attributes | |
double | _mean |
double | _sigma |
Detailed Description
Derived from the base prior class. Returns the natural log of the prior The mean and the standard deviation are passed as arguments to the constructor
Constructor & Destructor Documentation
|
inline |
- Parameters
-
mean Mean value sigma Standard deviation value
The documentation for this class was generated from the following file:
- likelihood/prior_gaussian.h