RSSAmplifier

Blog

Dr. Jean-Christophe Loiseau

Quarto Academic Website Template adapted by Dr. Gang He

loiseaujc.github.ioRSS feed ↗2 posts

Latest posts

Jacobi method: From a naïve implementation to a modern Fortran multithreaded one

In a previous post , I used the Jacobi method to illustrate some merits of Fortran over Python for teaching purposes. Since then, I received a handful of messages asking how to write efficient Fortran code. Because of its algorithmic simplicity, the Jacobi method makes for an excellent case study. In this post, we’ll see how to go from a naïve implementation taking a minute to solve a linear…

Is Fortran better than Python for teaching the basics of numerical linear algebra?

Disclaimer – This is not a post about which language is the most elegant or which implementation is the fastest (we all know it’s Fortran ). It’s about teaching the basics of scientific computing to engineering students with a limited programming experience. Yes, the Numpy / Scipy / matplotlib stack is awesome. Yes, you can use numba or jax to speed up your code, or Cython , or even Mojo the…