Implementation of DistribExtension.
More...
Implementation of DistribExtension.
- Author
- SBMLTeam
◆ UncertType_fromString()
◆ UncertType_isValid()
Predicate returning 1
(true) or 0
(false) depending on whether the given UncertType_t is valid.
- Parameters
-
- Returns
1
(true) if the UncertType_t is DISTRIB_UNCERTTYPE_DISTRIBUTION, DISTRIB_UNCERTTYPE_EXTERNALPARAMETER, DISTRIB_UNCERTTYPE_COEFFIENTOFVARIATION, DISTRIB_UNCERTTYPE_KURTOSIS, DISTRIB_UNCERTTYPE_MEAN, DISTRIB_UNCERTTYPE_MEDIAN, DISTRIB_UNCERTTYPE_MODE, DISTRIB_UNCERTTYPE_SAMPLESIZE, DISTRIB_UNCERTTYPE_SKEWNESS, DISTRIB_UNCERTTYPE_STANDARDDEVIATION, DISTRIB_UNCERTTYPE_STANDARDERROR, DISTRIB_UNCERTTYPE_VARIANCE, DISTRIB_UNCERTTYPE_CONFIDENCEINTERVAL, DISTRIB_UNCERTTYPE_CREDIBLEINTERVAL, DISTRIB_UNCERTTYPE_INTERQUARTILERANGE, or DISTRIB_UNCERTTYPE_RANGE; 0
(false) otherwise (including DISTRIB_UNCERTTYPE_INVALID).
◆ UncertType_isValidString()
int UncertType_isValidString |
( |
const char * |
code | ) |
|
Predicate returning 1
(true) or 0
(false) depending on whether the given string is a valid UncertType_t.
- Parameters
-
- Returns
1
(true) if the string is "distribution", "externalParameter", "coeffientOfVariation", "kurtosis", "mean", "median", "mode", "sampleSize", "skewness", "standardDeviation", "standardError", "variance", "confidenceInterval", "credibleInterval", "interquartileRange", "range", or "invalid UncertType value"; 0
(false) otherwise.
- Note
- The matching is case-sensitive: "distribution" will return
1
(true), but "Distribution" will return 0
(false).
◆ UncertType_toString()
Returns the string version of the provided UncertType_t enumeration.
- Parameters
-
- Returns
- A string corresponding to the given type: "distribution", "externalParameter", "coeffientOfVariation", "kurtosis", "mean", "median", "mode", "sampleSize", "skewness", "standardDeviation", "standardError", "variance", "confidenceInterval", "credibleInterval", "interquartileRange", "range", "invalid UncertType value", or
NULL
if the value is DISTRIB_UNCERTTYPE_INVALID or another invalid enumeration value.
- Note
- The string returned by this function is a pointer to a string literal defined in the libSBML library, and may not be modified or deleted.
◆ distribExtensionRegistry
◆ SBML_DISTRIB_TYPECODE_STRINGS
const char* SBML_DISTRIB_TYPECODE_STRINGS[] |
|
static |
Initial value:=
{
"UncertParameter"
, "Uncertainty"
, "UncertSpan"
, "DistribBase"
}
◆ SBML_UNCERT_TYPE_STRINGS
const char* SBML_UNCERT_TYPE_STRINGS[] |
|
static |
Initial value:=
{
"distribution"
, "externalParameter"
, "coeffientOfVariation"
, "kurtosis"
, "mean"
, "median"
, "mode"
, "sampleSize"
, "skewness"
, "standardDeviation"
, "standardError"
, "variance"
, "confidenceInterval"
, "credibleInterval"
, "interquartileRange"
, "range"
, "invalid UncertType value"
}