Home
last modified time | relevance | path

Searched refs:mutate_at_t (Results 1 – 2 of 2) sorted by relevance

/external/python/pybind11/tests/
Dtest_numpy_array.py118 for func in m.at_t, m.mutate_at_t:
130 assert all(m.mutate_at_t(arr, 0, 2).ravel() == [1, 2, 4, 4, 5, 6])
131 assert all(m.mutate_at_t(arr, 1, 0).ravel() == [1, 2, 4, 5, 5, 6])
139 (m.mutate_at_t, (0, 0)),
169 m.mutate_at_t,
Dtest_numpy_array.cpp109 template<typename... Ix> arr_t& mutate_at_t(arr_t& a, Ix... idx) { a.mutable_at(idx...)++; return a… in mutate_at_t() function
183 def_index_fn(mutate_at_t, arr_t&); in TEST_SUBMODULE()