Ask Your Question

Revision history [back]

If you don't have any specific questions then here's an example I made of using Cython in the Sage Notebook to perform fast matrix multiplication: (Note that I'm just re-implementing the naive algorithm using various stages of Python->Cython conversion.)

http://uw.sagenb.org/home/pub/19/

It's based on a talk made by one of the lead Cython developers. Also, the Cython documentation is excellent and most, if not all, of the language elements work naturally in the notebook environment.