Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I get started with Cython so that I can extend petsc4py?

cython EXTEND STARTED
0
Posted

How do I get started with Cython so that I can extend petsc4py?

0

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.

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123