%PDF- %PDF-
Direktori : /lib/python3/dist-packages/pythran/pythonic/random/ |
Current File : //lib/python3/dist-packages/pythran/pythonic/random/expovariate.hpp |
#ifndef PYTHONIC_RANDOM_EXPOVARIATE_HPP #define PYTHONIC_RANDOM_EXPOVARIATE_HPP #include "pythonic/include/random/expovariate.hpp" #include "pythonic/utils/functor.hpp" #include "pythonic/random/random.hpp" PYTHONIC_NS_BEGIN namespace random { double expovariate(double l) { return std::exponential_distribution<>(l)(__random_generator); } } PYTHONIC_NS_END #endif