12 #include "libmesh/utility.h" 27 :
Distribution(parameters), _location(getParam<
Real>(
"location")), _shape(getParam<
Real>(
"shape"))
34 Real z = std::exp(-(
x - location) / shape);
35 return z / (shape * Utility::pow<2>(1.0 + z));
41 Real z = std::exp(-(
x - location) / shape);
42 return 1.0 / (1.0 + z);
48 return location - shape * std::log(1.0 / p - 1.0);
const Real & _shape
The shape of the distribution (beta or s)
const std::vector< double > x
virtual Real quantile(const Real &p) const override
static InputParameters validParams()
const Real & _location
The location or mean of the distribution (alpha or mu)
virtual Real cdf(const Real &x) const override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
A class used to generate a logistic distribution.
Logistic(const InputParameters ¶meters)
registerMooseObject("StochasticToolsApp", Logistic)
virtual Real pdf(const Real &x) const override