On Mar 19, 2010, at 10:39 AM, Marshall Hampton wrote:

I hope someone more knowledgable than me will help you out.  I need a
cython tutorial myself!  But maybe I can point out a couple of
resources:

1) For adding cython code to the sage library, I think the developer
guide is pretty clear:
http://www.sagemath.org/doc/developer/coding_in_other.html

2) I think the Cython "language basics":
http://docs.cython.org/src/userguide/language_basics.html#language-basics
is more helpful than the tutorial if you already know a little.

3) These are probably too simple to help, but there are some
elementary examples of cython in the @interact page:
http://wiki.sagemath.org/interact/dynsys#CythonizedLogisticOrbitMap
http://wiki.sagemath.org/interact/fractal#ExploringMandelbrot
http://wiki.sagemath.org/interact/diffeq#Autonomousequationsandstable.2BAC8-unstablefixedpoints
http://wiki.sagemath.org/interact/diffeq#Heatequationusingfinitediferencesincython.28veryfast.21.29
and a brief intro I wrote a while ago:
http://openwetware.org/wiki/Open_writing_projects/Sage_and_cython_a_brief_introduction#Cython

I've been sort of stuck at a beginner level with cython for a while,
so if you find any good resources let me know.  The advice I've been
given is to study .pyx files in the Sage library, but I find that
somewhat overwhelming.  It would be nice to have a standalone
intermedate example.

The best immediate intro is probably

http://docs.cython.org/src/quickstart/cythonize.html

which is part of http://docs.cython.org/src/quickstart/

- Robert

--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

To unsubscribe from this group, send email to sage-support+unsubscribegooglegroups.com or 
reply to this email with the words "REMOVE ME" as the subject.

Reply via email to