|
| Gamma (const InputParameters ¶meters) |
|
virtual Real | pdf (const Real &x) const override |
|
virtual Real | cdf (const Real &x) const override |
|
virtual Real | quantile (const Real &p) const override |
|
virtual Real | median () const |
|
virtual bool | enabled () const |
|
std::shared_ptr< MooseObject > | getSharedPtr () |
|
std::shared_ptr< const MooseObject > | getSharedPtr () const |
|
MooseApp & | getMooseApp () const |
|
const std::string & | type () const |
|
const std::string & | name () const |
|
std::string | typeAndName () const |
|
MooseObjectParameterName | uniqueParameterName (const std::string ¶meter_name) const |
|
MooseObjectName | uniqueName () const |
|
const InputParameters & | parameters () const |
|
const hit::Node * | getHitNode () const |
|
bool | hasBase () const |
|
const std::string & | getBase () const |
|
const T & | getParam (const std::string &name) const |
|
std::vector< std::pair< T1, T2 > > | getParam (const std::string ¶m1, const std::string ¶m2) const |
|
const T * | queryParam (const std::string &name) const |
|
const T & | getRenamedParam (const std::string &old_name, const std::string &new_name) const |
|
T | getCheckedPointerParam (const std::string &name, const std::string &error_string="") const |
|
bool | isParamValid (const std::string &name) const |
|
bool | isParamSetByUser (const std::string &name) const |
|
void | connectControllableParams (const std::string ¶meter, const std::string &object_type, const std::string &object_name, const std::string &object_parameter) const |
|
void | paramError (const std::string ¶m, Args... args) const |
|
void | paramWarning (const std::string ¶m, Args... args) const |
|
void | paramInfo (const std::string ¶m, Args... args) const |
|
std::string | messagePrefix (const bool hit_prefix=true) const |
|
std::string | errorPrefix (const std::string &) const |
|
void | mooseError (Args &&... args) const |
|
void | mooseDocumentedError (const std::string &repo_name, const unsigned int issue_num, Args &&... args) const |
|
void | mooseErrorNonPrefixed (Args &&... args) const |
|
void | mooseWarning (Args &&... args) const |
|
void | mooseWarningNonPrefixed (Args &&... args) const |
|
void | mooseDeprecated (Args &&... args) const |
|
void | mooseInfo (Args &&... args) const |
|
void | callMooseError (std::string msg, const bool with_prefix, const hit::Node *node=nullptr) const |
|
std::string | getDataFileName (const std::string ¶m) const |
|
std::string | getDataFileNameByName (const std::string &relative_path) const |
|
std::string | getDataFilePath (const std::string &relative_path) const |
|
PerfGraph & | perfGraph () |
|
const Parallel::Communicator & | comm () const |
|
processor_id_type | n_processors () const |
|
processor_id_type | processor_id () const |
|
|
static InputParameters | validParams () |
|
static Real | pdf (const Real &x, const Real &alpha, const Real &beta) |
|
static Real | cdf (const Real &x, const Real &alpha, const Real &beta) |
|
static Real | quantile (const Real &p, const Real &alpha, const Real &beta) |
|
static Real | incompleteGamma (const Real &a, const Real &x) |
| Lower incomplete gamma function. More...
|
|
static Real | incompleteGammaInv (const Real &a, const Real &p) |
| Inverse of lower incomplete gamma function. More...
|
|
static void | callMooseError (MooseApp *const app, const InputParameters ¶ms, std::string msg, const bool with_prefix, const hit::Node *node) |
|
A class used to generate a Gamma distribution.
Definition at line 17 of file Gamma.h.
Real Gamma::incompleteGamma |
( |
const Real & |
a, |
|
|
const Real & |
x |
|
) |
| |
|
static |
Lower incomplete gamma function.
Non-boost implementation from: Temme, N. (1994). A Set of Algorithms for the Incomplete Gamma Functions. Probability in the Engineering and Informational Sciences, 8(2), 291-307.
Definition at line 76 of file Gamma.C.
Referenced by cdf(), and incompleteGammaInv().
79 const unsigned int max_iter = 1e6;
84 for (
unsigned int i = 0; i < max_iter; ++i)
89 if (std::abs(cn / val) <
tol)
93 mooseAssert(
false,
"Could not compute incomplete gamma function.");
const std::vector< double > x
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MooseUnits pow(const MooseUnits &, int)