How do I get started with Cython so that I can extend petsc4py?
Steps I used: • Learn how to build a Cython module • Go through the simple example provided by Denis here. Note also the next comment that shows how to create numpy arrays in the Cython and pass them back. • Check out this page which tells you how to get fast indexing • Have a look at the petsc4py array source developing this. See bin/matlab/classes/PetscInitialize.m for more details and bin/matlab/classes/examples/tutorials for examples.