Tag: Python

Fortran 2018

The upcoming Fortran standard formerly known as Fortran 2015 has a new name: Fortran 2018. It was decided to change it in order to match the expected year of publication. This makes sense. The previous standard (Fortran 2008) was published

Tagged with: , , ,

Fortran and Pyplot

Python’s matplotlib.pyplot is a very nice collection of functions that provide an easy Matlab-like interface for data plotting. It can be used to generate quite professional looking plots. There is a lot of information on the internet about calling Fortran from Python,

Tagged with: , , , , ,

Too Much Confusion

There is a lot of confusion and misinformation about the Fortran programming language on the internet, and a general ignorance about it among programmers. Most younger programmers who use languages invented five minutes ago probably have never seen it, and may only be dimly

Tagged with: , , , , ,

Multidimensional B-Spline Interpolation

I just started a new modern Fortran software library called bspline-fortran, which is for multidimensional (multivariate) b-spline interpolation of data defined on a regular grid. It is available on GitHub, and released under a permissive BSD-style license. It seems impossible to find

Tagged with: , , , ,

Comments

I just came across this article from 2005 written by Jef Raskin (probably most famous for having initiated the Macintosh project at Apple) on source code documentation [1]. I agree with much of what he recommends. I have never believed that code can

Tagged with: , , , , ,

SOFA

The Standards of Fundamental Astronomy (SOFA) library is a very nice collection of routines that implement various IAU algorithms for fundamental astronomy computations. Versions are available in Fortran and C.  Unfortunately, the Fortran version is written to be of maximum use to astronomers who

Tagged with: , , ,

Python Fortran Rosetta Stone

Fortran90.org has a nice page showing side-by-side comparisons of the same code in both NumPy and Fortran.  Aside from a few weird quirks (see the array slice examples), Python code should be easily understandable by a Fortran programmer.

Tagged with: ,
Top