prior_linear Class Reference
Defines the linear(flat) prior class. More...
#include "likelihood/prior_linear.h"
Inheritance diagram for prior_linear:
Collaboration diagram for prior_linear:
Public Member Functions | |
prior_linear (double min, double max) | |
Linear prior class constructor, accepts the minimum and maximum values 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 | _min |
double | _max |
Detailed Description
Derived from the base prior class. Returns the natural log of the prior. The minimum and maximum range are passed as arguments to the class constructor.
Constructor & Destructor Documentation
|
inline |
- Parameters
-
min Minimum value max Maximum value
The documentation for this class was generated from the following file:
- likelihood/prior_linear.h