%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/pythran/pythonic/numpy/random/
Upload File :
Create Path :
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

Zerion Mini Shell 1.0