%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/pythran/pythonic/random/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/pythran/pythonic/random/uniform.hpp

#ifndef PYTHONIC_RANDOM_UNIFORM_HPP
#define PYTHONIC_RANDOM_UNIFORM_HPP

#include "pythonic/include/random/uniform.hpp"

#include "pythonic/utils/functor.hpp"
#include "pythonic/random/random.hpp"

PYTHONIC_NS_BEGIN

namespace random
{
  double uniform(double a, double b)
  {
    return a + (b - a) * random();
  }
}
PYTHONIC_NS_END

#endif

Zerion Mini Shell 1.0