PandA-2024.02
|
This file collects some algebric statistical functions. More...
Go to the source code of this file.
Functions | |
boost::math::normal | MultiplyVarForCoefficient (int coeff, boost::math::normal var) |
boost::math::normal | VarSum (boost::math::normal x, double c) |
boost::math::normal | VarSum (boost::math::normal x, boost::math::normal y) |
boost::math::normal | VarSum (boost::math::normal x, boost::math::normal y, double p) |
boost::math::lognormal | VarSum (std::vector< boost::math::lognormal > v) |
boost::math::lognormal | VarSum (boost::math::lognormal x, boost::math::lognormal y) |
boost::math::lognormal | VarSum (boost::math::lognormal s1, boost::math::lognormal s2, double p) |
boost::math::normal | VarMax (boost::math::normal x, boost::math::normal y, double p) |
boost::math::normal | VarMax (std::vector< boost::math::normal > v) |
boost::math::normal | ComputeStatisticalDelay (double d, int n) |
boost::math::lognormal | ComputeStatisticalPower (double p, int n) |
boost::math::normal | CreateStatisticalAttribute (double a, int n) |
boost::math::normal | CreateStatisticalAttribute (double a, std::vector< int > d, double mean, double st_dev, int d_rand, double mean_rand, double st_dev_rand) |
This file collects some algebric statistical functions.
Definition in file Statistics.cpp.
boost::math::normal ComputeStatisticalDelay | ( | double | d, |
int | n | ||
) |
d | is the nominal delay of the operational vertex. |
n | is the number of random variables used to generate the statistical representation. |
Definition at line 150 of file Statistics.cpp.
References CreateStatisticalAttribute().
boost::math::lognormal ComputeStatisticalPower | ( | double | p, |
int | n | ||
) |
p | is the nominal power consumption of the operational vertex. |
n | is the number of random variables used to generate the statistical representation. |
Definition at line 155 of file Statistics.cpp.
References CreateStatisticalAttribute().
boost::math::normal CreateStatisticalAttribute | ( | double | a, |
int | n | ||
) |
a | is the nominal attribute value of the operational vertex. |
n | is the number of random variables used to generate the statistical representation. |
Definition at line 162 of file Statistics.cpp.
References CreateStatisticalAttribute().
Referenced by ComputeStatisticalDelay(), ComputeStatisticalPower(), and CreateStatisticalAttribute().
boost::math::normal CreateStatisticalAttribute | ( | double | a, |
std::vector< int > | d, | ||
double | mean, | ||
double | st_dev, | ||
int | d_rand, | ||
double | mean_rand, | ||
double | st_dev_rand | ||
) |
a | is the nominal attribute value of the operational vertex. |
d | is the list of the weights of the boost::math::normal random variables. |
mean | is mean of the single boost::math::normal random variable. |
st_dev | is standard deviation of the single boost::math::normal random variable. |
d_rand | is weight of the boost::math::normal variable representing the random component. |
mean_rand | is mean of the boost::math::normal variable representing the random component. |
st_dev_rand | is standard deviation of the boost::math::normal variable representing the random component. |
Definition at line 174 of file Statistics.cpp.
References MultiplyVarForCoefficient(), and VarSum().
boost::math::normal MultiplyVarForCoefficient | ( | int | coeff, |
boost::math::normal | var | ||
) |
coeff | is the constant. |
var | is the boost::math::normal random variable. |
Definition at line 48 of file Statistics.cpp.
Referenced by CreateStatisticalAttribute().
boost::math::normal VarMax | ( | boost::math::normal | x, |
boost::math::normal | y, | ||
double | p | ||
) |
x | is the first random variable. |
y | is the second random variable. |
p | is the correlation between x and y. |
Definition at line 116 of file Statistics.cpp.
Referenced by VarMax().
boost::math::normal VarMax | ( | std::vector< boost::math::normal > | v | ) |
v | is the list of random variables. |
Definition at line 136 of file Statistics.cpp.
References VarMax().
boost::math::normal VarSum | ( | boost::math::normal | x, |
double | c | ||
) |
x | is the random variable. |
c | is the constant. |
Definition at line 57 of file Statistics.cpp.
Referenced by CreateStatisticalAttribute(), and VarSum().
boost::math::normal VarSum | ( | boost::math::normal | x, |
boost::math::normal | y | ||
) |
x | is the first random variable. |
y | is the second random variable. |
Definition at line 63 of file Statistics.cpp.
References VarSum().
boost::math::normal VarSum | ( | boost::math::normal | x, |
boost::math::normal | y, | ||
double | p | ||
) |
x | is the first random variable. |
y | is the second random variable. |
p | is the correlation between x and y. |
Definition at line 68 of file Statistics.cpp.
boost::math::lognormal VarSum | ( | std::vector< boost::math::lognormal > | v | ) |
v | is the list of random variables. |
Definition at line 80 of file Statistics.cpp.
References VarSum().
boost::math::lognormal VarSum | ( | boost::math::lognormal | x, |
boost::math::lognormal | y | ||
) |
x | is the first random variable. |
y | is the second random variable. |
Definition at line 94 of file Statistics.cpp.
References VarSum().
boost::math::lognormal VarSum | ( | boost::math::lognormal | s1, |
boost::math::lognormal | s2, | ||
double | p | ||
) |
x | is the first random variable. |
y | is the second random variable. |
p | is the correlation between x and y. |
Definition at line 99 of file Statistics.cpp.
References exp.