help-octave
[Top][All Lists]
Advanced

[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:  http://octave.sourceforge.net/coda/coda.html

jwe



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

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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