![]() | Programming with NumPy arrays in C is much less convenient than programming with C++ array objects
SomeArrayClass a(10, 21); a(1,2) = 3; // indexing |
![]() | Idea: wrap NumPy arrays in a C++ class |
![]() | Goal: use this class wrapper to simplify the gridloop1 wrapper |