43 #ifndef STATISTICS_HPP 44 #define STATISTICS_HPP 46 #include <boost/math/distributions/lognormal.hpp> 47 #include <boost/math/distributions/normal.hpp> 49 #include <boost/version.hpp> 51 #if BOOST_VERSION >= 104600 55 #define BOOST_TR1_TUPLE_HPP_INCLUDED 57 #include <boost/math/distributions.hpp> 72 boost::math::normal
VarSum(boost::math::normal
x,
double c);
79 boost::math::normal
VarSum(boost::math::normal
x, boost::math::normal y);
87 boost::math::normal
VarSum(boost::math::normal
x, boost::math::normal y,
double p);
93 boost::math::lognormal
VarSum(std::vector<boost::math::lognormal> v);
100 boost::math::lognormal
VarSum(boost::math::lognormal
x, boost::math::lognormal y);
108 boost::math::lognormal
VarSum(boost::math::lognormal s1, boost::math::lognormal s2,
double p);
116 boost::math::normal
VarMax(boost::math::normal
x, boost::math::normal y,
double p);
122 boost::math::normal
VarMax(std::vector<boost::math::normal> v);
158 double mean_rand,
double st_dev_rand);
boost::math::lognormal ComputeStatisticalPower(double p, int n)
boost::math::normal VarSum(boost::math::normal x, double c)
boost::math::normal ComputeStatisticalDelay(double d, int n)
boost::math::normal VarMax(boost::math::normal x, boost::math::normal y, double p)
boost::math::normal MultiplyVarForCoefficient(int coeff, boost::math::normal var)
boost::math::normal CreateStatisticalAttribute(double a, int n)
x
Return the smallest n such that 2^n >= _x.