Searched refs:mutate_data_t (Results 1 – 2 of 2) sorted by relevance
/external/python/pybind11/tests/ |
D | test_numpy_array.py | 92 m.mutate_data_t, 138 (m.mutate_data_t, ()), 153 assert all(m.mutate_data_t(arr).ravel() == [5, 17, 25, 65, 81, 193]) 154 assert all(m.mutate_data_t(arr).ravel() == [6, 18, 26, 66, 82, 194]) 155 assert all(m.mutate_data_t(arr, 1).ravel() == [6, 18, 26, 67, 83, 195]) 156 assert all(m.mutate_data_t(arr, 0, 1).ravel() == [6, 19, 27, 68, 84, 196]) 157 assert all(m.mutate_data_t(arr, 1, 2).ravel() == [6, 19, 27, 68, 84, 197]) 167 m.mutate_data_t,
|
D | test_numpy_array.cpp | 97 template<typename... Ix> arr_t& mutate_data_t(arr_t& a, Ix... index) { in mutate_data_t() function 181 def_index_fn(mutate_data_t, arr_t&); in TEST_SUBMODULE()
|