%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib/python3/dist-packages/pythran/pythonic/include/numpy/random/
Upload File :
Create Path :
Current File : //usr/lib/python3/dist-packages/pythran/pythonic/include/numpy/random/random_integers.hpp

#ifndef PYTHONIC_INCLUDE_NUMPY_RANDOM_RANDOM_INTEGERS_HPP
#define PYTHONIC_INCLUDE_NUMPY_RANDOM_RANDOM_INTEGERS_HPP

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

#include <utility>

PYTHONIC_NS_BEGIN
namespace numpy
{
  namespace random
  {
    template <class T>
    auto random_integers(long min, long max, T &&size)
        -> decltype(randint(min, max, std::forward<T>(size)));

    long random_integers(long max);

    long random_integers(long min, long max);

    DEFINE_FUNCTOR(pythonic::numpy::random, random_integers);
  }
}
PYTHONIC_NS_END

#endif

Zerion Mini Shell 1.0