help-octave
[Top][All Lists]
Advanced

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

passing function names in to fortran subroutines


From: John W. Eaton
Subject: passing function names in to fortran subroutines
Date: Sat, 23 Jul 2005 16:15:07 -0400

On 23-Jul-2005, Marek Szczypinski wrote:

| Hello,
| not long ago I have started to use dynamically linked functions.
| I learnt how to use them to link fortran subroutines, but I can't find 
| anything about passing a function name to a fortran subroutine.
| How to pass a function name from octave (C++ dynamically linked 
| function) to a fortran subroutine like the one below??
|       SUBROUTINE(FUNC,X,Y)
|       REAL*8 FUNC, X, Y
|       EXTERN FUNC
| C     DO SOMETHING...
|       Y = FUNC(X)
|       END

Please take a look at

  http://www.octave.org/mailing-lists/help-octave/2005/1962

and see if it answers your question.

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]