Detecting Fixed-Format Fortran
A common question we regularly receive is the substantial errors resulting from attempting to compile fixed-format Fortran source code using the extension .f90 for the source file. Simply Fortran's compiler, in these cases, emits countless, undecipherable errors that provide almost no hints that the user has saved his or her file using an incorrect extension. This confusion is the result of a language that effectively allows two separate syntaxes.
Simply Fortran, in our opinion,...
A Quick LAPACK Example
With the release of Simply Fortran 2.37, LAPACK and BLAS routines are now easily available on all supported platforms. LAPACK, or Linear Algebra Package, provides an enormous collection of subroutines for dealing with many types of matrix operations and linear systems , while BLAS, or Basic Linear Algebra Subprograms, provides lower level vector and matrix math operations. Both libraries are extremely common within scientific computing, and their inclusion with...
With the release of version 2.36, Simply Fortran now includes Aplot, a library for creating simple, two-dimensional plots and charts directly from Fortran. The programming interface provided is designed to be straightforward, and the library is available on Windows, macOS, and GNU/Linux. This short article will walk through creating a non-trivial plot quickly with Aplot.
For this example, we’ll attempt to plot 1000 random, uniformly distributed numbers along with a running mean as the...