[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dynamically loaded Fortran, how?

From: John W. Eaton
Subject: Dynamically loaded Fortran, how?
Date: Tue, 17 Dec 2002 17:00:53 -0600

On 17-Dec-2002, Albert F. Niessner <address@hidden> wrote:

| I have a C++ wrapper around a Fortran subroutine (mostly) and need some
| help getting it working with octave -- it works with g++/g77.
| First, what is the recommend way to go from Matrix to reference to the
| matrix for passing into the fortran subroutine?

There are a number of examples of calling Fortran from C++ in the
Octave sources.  Search for F77_XFCN or F77_FUNC.

| Second, what is the recommend way to use mkoctfile to produce the
| desired results -- a dynamically loadable function?

A starting point:


Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]