Approximatrix, LLC

Download! Purchase!

2017-07-26

Calling Fortran DLLs from Excel

In the last blog post, we created a simple dynamic link library for Windows that was easily callable from C, including Microsoft's Visual C++. As stated in the article, the resulting DLL was entirely standards-compliant: it utilized proper calling conventions and it exported the functions we wished to expose. Therefore, we can take another step and call said DLL from Microsoft Office Excel.

Excel spreadsheets are often used for data analysis, and,...

Read more...


2017-07-17

Creating DLLs with Simply Fortran

Simply Fortran for Windows can easily produce dynamic link libraries, or DLLs, using the appropriate "New Project" entries on its Start screen. Often times, though, users wish to create DLLs that can interact with other languages and programs, which can mildly complicate matters on Windows. In this post, we'll look at creating a DLL with some functions that can be seamlessly called from the C language. Routines callable from C, of course, are generally callable...

Read more...


2017-07-07

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,...

Read more...


2017-05-19

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...

Read more...


Older posts