prior Class Reference
Defines the combined prior class. More...
#include "likelihood/prior.h"
Public Member Functions | |
| prior (std::vector< prior_base * > type) | |
| Prior class constructor, accepts a vector of pointers to prior classes as input. More... | |
| double | operator() (std::vector< double > &x) |
| Overloaded paranthesis operator to return the log-prior for each input vector. | |
| double | lower_bound (size_t i) |
| double | upper_bound (size_t i) |
| std::vector< double > | gradient (std::vector< double > &x) |
Private Attributes | |
| std::vector< prior_base * > | prior_type |
Detailed Description
Returns the natural log of the prior. A vector of pointers to prior classes is accepted by the constructor This class is a functor returning a combined log-prior for a vector of parameters
Constructor & Destructor Documentation
|
inline |
- Parameters
-
type A vector of pointers to prior classes
Member Data Documentation
|
private |
A vector of pointers to prior objects, these are the priors on the each parameter in the parameter space
The documentation for this class was generated from the following file:
- likelihood/prior.h
