News for hackers. Stuff that matters.
Re:High quality graphics for Latex documents: The Matlab route by Y_Y on Friday March 17, 2017 @11:02AM (#13894448)
I have used Fortran in a few instances where I was compelled to. I never gave it much of a chance because I didn't like using it, and what's more it isn't nearly as popular as C/Python/Matlab etc. for modern stuff. If popularity (and hence code sharing) wasn't important I'd be using languages I like, like Haskell and Scheme.

All the same your comment makes me think I may have dismissed it too quickly so I'm going to give it another try for my next toy project (even if they index arrays from 1). Thank you.

Re:High quality graphics for Latex documents: The Matlab route by chestervonwinch on Friday March 17, 2017 @11:13AM (#13894538)
> even if they index arrays from 1

They don't have to! You can set the array index bounds to whatever you want. For example,

    real(8) A(0:n-1)
    real(8) w(-p:q)
are both valid declarations and would be indexed by i=0,n-1 and i=-p,q respectively. If you're using gfortran compile with the "-fbounds-check" flag to save a lot of headaches!
Re:High quality graphics for Latex documents: The Matlab route by leephillips on Friday March 17, 2017 @11:11AM (#13894528)
You can index arrays in Fortran any way you want to.

Fortran is popular among people in many disciplines doing large-scale scientific computing. I was surprised to learn a few years ago that C++ had become popular in the high energy physics community; the emphasis there is on crunching vast amounts of data from experiments.