[Numpy-discussion] Modern Fortran vs NumPy syntax

Ondřej Čertík ondrej.certik@gmail....
Thu Feb 7 13:22:12 CST 2013


Hi,

I have recently setup a page about modern Fortran:

http://fortran90.org/

and in particular, it has a long section with side by side syntax
examples of Python/NumPy vs Fortran:

http://fortran90.org/src/rosetta.html

I would be very interested if some NumPy gurus would provide me
feedback. I personally knew
NumPy long before I learned Fortran, and I was amazed that the modern
Fortran pretty much
allows 1:1 syntax with NumPy, including most of all the fancy indexing etc.

Is there some NumPy feature that is not covered there? I would like it
to be a nice resource
for people who know NumPy to feel like at home with Fortran, and vice
versa. I personally
use both every day (Fortran a bit more than NumPy).

Or of you have any other comments or tips for the site, please let me
know. Eventually I'd like
to also put there C++ way of doing the same things, but at the moment
I want to get Fortran
and Python/NumPy done first.

Ondrej


More information about the NumPy-Discussion mailing list