Next: , Previous: , Up: GNU libmatheval manual   [Contents][Index]


3 Fortran interface

Fortran interface to GNU libmatheval library is very similar to C interface; still, complete documentation from Reference is reproduced here using Fortran terms in order to have Fortran programmer not to mess with C terms that he may not understand. Besides documentation for all library exported procedures, an example Fortran program of structure similar to sequence of code fragments presented for C programmers in Introduction section as well as notes on how to link library with Fortran programs are presented here.

Since passing arguments between C and Fortran is not (yet) standardized, Fortran interface of library applies only to GNU Fortran 77 compiler; but note that same interface is working fine for GNU Fortran 95 compiler. Requests to adapt interface to other Fortran compilers are welcome (see section Bugs for contact information), under condition that access to corresponding compiler is provided.