prior_logarithmic Class Reference

Defines a prior that is uniform in log space. More...

#include "likelihood/prior_logarithmic.h"

Inheritance diagram for prior_logarithmic:
Collaboration diagram for prior_logarithmic:

Public Member Functions

 prior_logarithmic (double min, double max)
 Logarithmic prior class constructor, accepts the min and max 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

Constructor & Destructor Documentation

prior_logarithmic ( double  min,
double  max 
)
inline
Parameters
minMinimum value
maxMaximum value

The documentation for this class was generated from the following file: