blob: 18aaf4cf176529c1dabdd6d6b1dcc4ad7a8a096e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef PYTHONIC_INCLUDE_NUMPY_NDIM_HPP
#define PYTHONIC_INCLUDE_NUMPY_NDIM_HPP
#include "pythonic/include/utils/functor.hpp"
#include "pythonic/include/types/ndarray.hpp"
#include "pythonic/include/numpy/shape.hpp"
PYTHONIC_NS_BEGIN
namespace numpy
{
template <class E>
long ndim(E const &e);
DEFINE_FUNCTOR(pythonic::numpy, ndim)
}
PYTHONIC_NS_END
#endif
|