Lines Matching refs:arr_t
79 using arr_t = py::array_t<uint16_t, 0>; typedef
80 static_assert(std::is_same<arr_t::value_type, uint16_t>::value, "");
86 template<typename... Ix> arr data_t(const arr_t& a, Ix... index) { in data_t()
97 template<typename... Ix> arr_t& mutate_data_t(arr_t& a, Ix... index) { in mutate_data_t()
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()
107 template<typename... Ix> py::ssize_t offset_at_t(const arr_t& a, Ix... idx) { return a.offset_at(id… in offset_at_t()
108 template<typename... Ix> py::ssize_t at_t(const arr_t& a, Ix... idx) { return a.at(idx...); } in at_t()
109 template<typename... Ix> arr_t& mutate_at_t(arr_t& a, Ix... idx) { a.mutable_at(idx...)++; return a… in mutate_at_t()
173 def_index_fn(index_at_t, const arr_t&); in TEST_SUBMODULE()
175 def_index_fn(offset_at_t, const arr_t&); in TEST_SUBMODULE()
178 def_index_fn(data_t, const arr_t&); in TEST_SUBMODULE()
181 def_index_fn(mutate_data_t, arr_t&); in TEST_SUBMODULE()
182 def_index_fn(at_t, const arr_t&); in TEST_SUBMODULE()
183 def_index_fn(mutate_at_t, arr_t&); in TEST_SUBMODULE()