The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
isRandomVariable
mir
random
variable
Test if T is a random variable.
template
isRandomVariable (
T
) {
static if
(
is(typeof(T.isRandomVariable) : bool)
)
enum
isRandomVariable
;
static if
(!(
is(typeof(T.isRandomVariable) : bool)
))
enum
isRandomVariable
;
}
Meta
Source
See Implementation
mir
random
variable
aliases
bernoulli2Variable
bernoulliVariable
betaVariable
binomialVariable
cauchyVariable
discreteVariable
exponentialVariable
extremeValueVariable
fisherFVariable
gammaVariable
geometricVariable
logNormalVariable
negativeBinomialVariable
normalVariable
piecewiseConstantVariable
piecewiseLinearVariable
poissonVariable
studentTVariable
weibullVariable
enums
RandomVariable
functions
bernoulli2Var
bernoulliVar
betaVar
binomialVar
cauchyVar
chiSquared
discreteVar
exponentialVar
extremeValueVar
fisherFVar
gammaVar
geometricVar
logNormalVar
negativeBinomialVar
normalVar
piecewiseConstantVar
piecewiseLinearVar
poissonVar
studentTVar
uniformVar
uniformVariable
weibullVar
structs
Bernoulli2Variable
BernoulliVariable
BetaVariable
BinomialVariable
CauchyVariable
ChiSquaredVariable
DiscreteVariable
ExponentialVariable
ExtremeValueVariable
FisherFVariable
GammaVariable
GeometricVariable
LogNormalVariable
NegativeBinomialVariable
NormalVariable
PiecewiseConstantVariable
PiecewiseLinearVariable
PoissonVariable
StudentTVariable
UniformVariable
WeibullVariable
templates
isRandomVariable
Test if T is a random variable.