#include "pybind11_tests.h"#include <pybind11/numpy.h>#include <pybind11/stl.h>#include <cstdint>Go to the source code of this file.
Classes | |
| struct | DtypeCheck |
| struct | DtypeSizeCheck |
Macros | |
| #define | def_index_fn(name, type) |
Typedefs | |
| using | arr = py::array |
| using | arr_t = py::array_t< uint16_t, 0 > |
Functions | |
| template<typename T > | |
| DtypeCheck | get_dtype_check (const char *name) |
| std::vector< DtypeCheck > | get_concrete_dtype_checks () |
| template<typename T > | |
| DtypeSizeCheck | get_dtype_size_check () |
| std::vector< DtypeSizeCheck > | get_platform_dtype_size_checks () |
| template<typename... Ix> | |
| arr | data (const arr &a, Ix... index) |
| template<typename... Ix> | |
| arr | data_t (const arr_t &a, Ix... index) |
| template<typename... Ix> | |
| arr & | mutate_data (arr &a, Ix... index) |
| template<typename... Ix> | |
| arr_t & | mutate_data_t (arr_t &a, Ix... index) |
| template<typename... Ix> | |
| py::ssize_t | index_at (const arr &a, Ix... idx) |
| template<typename... Ix> | |
| py::ssize_t | index_at_t (const arr_t &a, Ix... idx) |
| template<typename... Ix> | |
| py::ssize_t | offset_at (const arr &a, Ix... idx) |
| template<typename... Ix> | |
| py::ssize_t | offset_at_t (const arr_t &a, Ix... idx) |
| template<typename... Ix> | |
| py::ssize_t | at_t (const arr_t &a, Ix... idx) |
| template<typename... Ix> | |
| arr_t & | mutate_at_t (arr_t &a, Ix... idx) |
| template<typename T , typename T2 > | |
| py::handle | auxiliaries (T &&r, T2 &&r2) |
| TEST_SUBMODULE (numpy_array, sm) | |
Definition at line 112 of file test_numpy_array.cpp.
| using arr = py::array |
Definition at line 78 of file test_numpy_array.cpp.
| using arr_t = py::array_t<uint16_t, 0> |
Definition at line 79 of file test_numpy_array.cpp.
| py::ssize_t at_t | ( | const arr_t & | a, |
| Ix... | idx | ||
| ) |
Definition at line 108 of file test_numpy_array.cpp.
| py::handle auxiliaries | ( | T && | r, |
| T2 && | r2 | ||
| ) |
Definition at line 117 of file test_numpy_array.cpp.
Definition at line 82 of file test_numpy_array.cpp.
Definition at line 86 of file test_numpy_array.cpp.
| std::vector<DtypeCheck> get_concrete_dtype_checks | ( | ) |
Definition at line 32 of file test_numpy_array.cpp.
| DtypeCheck get_dtype_check | ( | const char * | name | ) |
Definition at line 24 of file test_numpy_array.cpp.
| DtypeSizeCheck get_dtype_size_check | ( | ) |
Definition at line 55 of file test_numpy_array.cpp.
| std::vector<DtypeSizeCheck> get_platform_dtype_size_checks | ( | ) |
Definition at line 64 of file test_numpy_array.cpp.
| py::ssize_t index_at | ( | const arr & | a, |
| Ix... | idx | ||
| ) |
Definition at line 104 of file test_numpy_array.cpp.
| py::ssize_t index_at_t | ( | const arr_t & | a, |
| Ix... | idx | ||
| ) |
Definition at line 105 of file test_numpy_array.cpp.
Definition at line 109 of file test_numpy_array.cpp.
Definition at line 90 of file test_numpy_array.cpp.
Definition at line 97 of file test_numpy_array.cpp.
| py::ssize_t offset_at | ( | const arr & | a, |
| Ix... | idx | ||
| ) |
Definition at line 106 of file test_numpy_array.cpp.
| py::ssize_t offset_at_t | ( | const arr_t & | a, |
| Ix... | idx | ||
| ) |
Definition at line 107 of file test_numpy_array.cpp.
| TEST_SUBMODULE | ( | numpy_array | , |
| sm | |||
| ) |
Definition at line 135 of file test_numpy_array.cpp.
1.8.19