%PDF- %PDF-
Direktori : /lib/python3/dist-packages/pythran/pythonic/numpy/random/ |
Current File : //lib/python3/dist-packages/pythran/pythonic/numpy/random/shuffle.hpp |
#ifndef PYTHONIC_NUMPY_RANDOM_SHUFFLE_HPP #define PYTHONIC_NUMPY_RANDOM_SHUFFLE_HPP #include "pythonic/include/numpy/random/shuffle.hpp" #include "pythonic/types/ndarray.hpp" #include "pythonic/builtins/None.hpp" PYTHONIC_NS_BEGIN namespace numpy { namespace random { template <class T> types::none_type shuffle(T &seq) { std::shuffle(seq.begin(), seq.end(), details::generator); return builtins::None; } } } PYTHONIC_NS_END #endif