help-octave
[Top][All Lists]
Advanced

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

Re: How can I load a fortran routine into Octave


From: A. Scottedward Hodel
Subject: Re: How can I load a fortran routine into Octave
Date: Tue, 06 Oct 1998 08:12:55 -0500

>A. Scottedward Hodel wrote:
>> 
>> Take a look at the sp-oct package at ftp://ftp.eng.auburn.edu/pub/hodel.
>> 
>> A S Hodel Assoc. Prof. Dept Elect Eng, Auburn Univ,AL  36849-5201
>> On leave at NASA Marshall Space Flight Center (205) 544-1426
>> 

>I have visited you ftp site but I have not found the sp-oct package.
>Has it been moved elsewhere? 
>
>I hope you can help me again.

Forgive my error; any of these should prove useful:
-rw-r--r--   1 scotte   ee        210862 Sep  4 16:26 OCST-ss-980904.tar.gz
    (several .oct files are in here)
-rw-r--r--   1 scotte   ee       3415843 Sep  4 08:17 octave-2.1.7.3.tar.gz
    (look in src/DLD-FUNCTIONS/qz.cc from this temporary Octave patch; this is
    probably the best example, although the #include are slightly different from
    what's required for a .oct file)
-rw-r--r--   1 scotte   ee        328379 Sep 21 08:23 semidef-oct.tar.gz
    (Fortran called indirectly from C)

To call FORTRAN directly from a .cc file (source for .oct), you will need
to use the macros
    F77_FCN    (prototype for a FORTRAN function)
    F77_XFCN    (execute a FORTRAN function)
each of these are called by routines in the octave liboctave directory.

A S Hodel Assoc. Prof. Dept Elect Eng, Auburn Univ,AL  36849-5201
On leave at NASA Marshall Space Flight Center (205) 544-1426



reply via email to

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