CMP++: Uncertainty Quantification & Bayesian Calibration
Loading...
Searching...
No Matches
prior++.h File Reference
#include <cmp_defines.h>
#include <distribution.h>
Include dependency graph for prior++.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cmp::prior::Prior
 Base class for prior probability distributions. More...
 
class  cmp::prior::Product
 Represents the product (sum of logs) of two independent prior distributions. More...
 
class  cmp::prior::Uniform
 Represents an improper flat (uniform) prior. More...
 
class  cmp::prior::FromDistribution< DistType >
 Adapts a univariate probability distribution to act as a prior on a single coordinate. More...
 

Namespaces

namespace  cmp
 
namespace  cmp::prior
 

Functions

template<typename DistType >
std::shared_ptr< Priorcmp::prior::make (const DistType &dist, size_t paramIndex)
 Helper template function to create a FromDistribution prior.
 
std::shared_ptr< Priorcmp::prior::operator* (std::shared_ptr< Prior > p1, std::shared_ptr< Prior > p2)
 Multiplies two prior distributions (returns a Product prior).