Home
last modified time | relevance | path

Searched refs:index_at (Results 1 – 3 of 3) sorted by relevance

/external/python/pybind11/tests/
Dtest_numpy_array.cpp87 return arr(a.size() - a.index_at(index...), a.data(index...)); in data_t()
99 for (py::ssize_t i = 0; i < a.size() - a.index_at(index...); i++) in mutate_data_t()
104 template<typename... Ix> py::ssize_t index_at(const arr& a, Ix... idx) { return a.index_at(idx...);… in index_at() function
105 template<typename... Ix> py::ssize_t index_at_t(const arr_t& a, Ix... idx) { return a.index_at(idx.… in index_at_t()
172 def_index_fn(index_at, const arr&); in TEST_SUBMODULE()
Dtest_numpy_array.py77 assert m.index_at(arr, *args) == ret
85 m.index_at,
162 m.index_at,
/external/python/pybind11/include/pybind11/
Dnumpy.h728 template<typename... Ix> ssize_t index_at(Ix... index) const {
879 template<typename... Ix> ssize_t index_at(Ix... index) const {