|
STK++ 0.9.13
|
This is the namespace enclosing the classes handling the usual probabilities Laws. More...
Classes | |
| class | Bernoulli |
| Bernoulli probability law. More... | |
| class | Beta |
| Beta distribution law. More... | |
| class | Binomial |
| Binomial probability law. More... | |
| class | Categorical |
| Categorical probability law. More... | |
| class | Cauchy |
| Cauchy distribution law. More... | |
| struct | CdfcOp |
| , More... | |
| struct | CdfOp |
| , More... | |
| class | ChiSquared |
| ChiSquared distribution law. More... | |
| class | Empirical |
| Empirical distribution law. More... | |
| class | Exponential |
| Exponential distribution law. More... | |
| class | FisherSnedecor |
| FisherSnedecor distribution law. More... | |
| class | Gamma |
| Gamma distribution law. More... | |
| class | Geometric |
| Geometric probability law. More... | |
| class | HyperGeometric |
| HyperGeometric probability law. More... | |
| struct | IcdfOp |
| , More... | |
| class | ILawBase |
| Interface base class for all the (univariate/multivariate) probabilities laws. More... | |
| class | IUnivLaw |
| Interface base class for all the univariate distributions. More... | |
| struct | LogCdfcOp |
| , More... | |
| struct | LogCdfOp |
| , More... | |
| class | Logistic |
| Logistic distribution law. More... | |
| class | LogNormal |
| LogNormal distribution law. More... | |
| struct | LogPdfOp |
| , More... | |
| class | NegativeBinomial |
| NegativeBinomial probability law. More... | |
| class | Normal |
| Normal distribution law. More... | |
| struct | PdfOp |
| , More... | |
| class | Poisson |
| Poisson distribution law. More... | |
| class | Student |
| Student distribution law. More... | |
| class | Uniform |
| class for the Uniform law distribution. More... | |
| class | UniformDiscrete |
| class for the Uniform law distribution. More... | |
| class | Weibull |
| Weibull distribution law. More... | |
Typedefs | |
| typedef Normal | Gaussian |
| A synonymous for the normal law. | |
Enumerations | |
| enum | UnivariateDistribution { bernoulli_ , beta_ , binomial_ , categorical_ , cauchy_ , chisquared_ , exponential_ , fisher_snedecor_ , gamma_ , geometric_ , hypergeometric_ , logistic_ , lognormal_ , negative_binomial_ , normal_ , poisson_ , student_ , uniform_ , uniform_discrete_ , weibull_ , unknown_univ_distribution_ } |
| list of the univariate distribution laws More... | |
Functions | |
| UnivariateDistribution | stringToUnivariateDistribution (std::string const &dist) |
| Convert a String to a UnivariateDistribution. | |
| std::string | univariateDistributionToString (UnivariateDistribution const &type) |
| convert a UnivariateDistribution to a String. | |
This is the namespace enclosing the classes handling the usual probabilities Laws.
A synonymous for the normal law.
Definition at line 47 of file STK_Law_Normal.h.
list of the univariate distribution laws
Definition at line 54 of file STK_Law_Util.h.
|
inline |
Convert a String to a UnivariateDistribution.
The recognized strings are
| Distribution |
|---|
| "beta" |
| "binomial" |
| "categorical" |
| "cauchy" |
| "chi squared" |
| "exponential" |
| "fisher snedecor" |
| "gamma" |
| "geometric" |
| "hypergeometric" |
| "logistic" |
| "lognormal" |
| "negative binomial" |
| "normal" |
| "poisson" |
| "student" |
| "uniform" |
| "uniform discrete" |
| "weibull" |
| dist | the String we want to convert |
type. if the string does not match any known name, the unknown_mixture_ type is returned. Definition at line 108 of file STK_Law_Util.h.
References _T, beta_, binomial_, categorical_, cauchy_, chisquared_, STK::dist(), exponential_, fisher_snedecor_, gamma_, geometric_, hypergeometric_, logistic_, lognormal_, negative_binomial_, normal_, poisson_, STK::removeWhiteSpaces(), stk_cout, student_, STK::toUpperString(), uniform_, uniform_discrete_, unknown_univ_distribution_, and weibull_.
|
inline |
convert a UnivariateDistribution to a String.
| type | the type of UnivariateDistribution we want to convert |
Definition at line 141 of file STK_Law_Util.h.
References _T, beta_, binomial_, categorical_, cauchy_, chisquared_, exponential_, fisher_snedecor_, gamma_, geometric_, hypergeometric_, logistic_, lognormal_, negative_binomial_, normal_, poisson_, student_, uniform_, uniform_discrete_, and weibull_.