27 virtual Real
pdf(
const Real & x)
const = 0;
32 virtual Real
cdf(
const Real & x)
const = 0;
37 virtual Real
quantile(
const Real & y)
const = 0;
42 virtual Real
median()
const;
All Distributions should inherit from this class.
virtual Real median() const
Compute the median of the distribution.
virtual Real pdf(const Real &x) const =0
Compute the probability with given probability distribution function (PDF) at x.
static InputParameters validParams()
virtual Real quantile(const Real &y) const =0
Compute the inverse CDF (quantile function) value for given variable value y.
virtual Real cdf(const Real &x) const =0
Compute the cumulative probability with given cumulative probability distribution (CDF) at x.
const InputParameters & parameters() const
Get the parameters of the object.
Every object that can be built by the factory should be derived from this class.
Interface for objects interacting with the PerfGraph.