%PDF- %PDF-
| Direktori : /proc/thread-self/root/lib/python3/dist-packages/pythran/pythonic/numpy/ |
| Current File : //proc/thread-self/root/lib/python3/dist-packages/pythran/pythonic/numpy/flipud.hpp |
#ifndef PYTHONIC_NUMPY_FLIPUD_HPP
#define PYTHONIC_NUMPY_FLIPUD_HPP
#include "pythonic/include/numpy/flipud.hpp"
#include "pythonic/utils/functor.hpp"
#include "pythonic/types/ndarray.hpp"
PYTHONIC_NS_BEGIN
namespace numpy
{
template <class E>
auto flipud(E &&expr) -> decltype(
std::forward<E>(expr)[types::slice{builtins::None, builtins::None, -1}])
{
return std::forward<E>(
expr)[types::slice{builtins::None, builtins::None, -1}];
}
}
PYTHONIC_NS_END
#endif