help-octave
[Top][All Lists]
Advanced

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

dl and fortran


From: Martin Holz
Subject: dl and fortran
Date: Wed, 18 Jun 1997 13:37:38 +0200



Hi Stef,
maybe you could simply use the C version of LAPACK, so you don't have
to worry about calling conventions. You can get it from
<http://elib.zib.de/netlib/clapack/double> or any other netlib mirror.

Ciao 
        Martin



Stef Pillaert writes:
 > 
 > Hello again,
 > 
 > I would like to use the LAPACK-function DSYSVX to solve symmetric (but not
 > positive definite) matrices.
 > 
 > Right now, I'm saving my matrices to a file, I call a fortran
 > program, where I call DSYSVX, I save
 > the results to files, and read the results in octave.
 > 
 > I would prefer to do all this with dynamic linking, but since I'm not a
 > c++-specialist (neither fortran...), I have a few little problems:
 > 
 > * dynamic linking works (well, not in 2.0.7, but I should wait for 2.0.8,
 > am I well informed?). But I have no idea how to call my fortran-program 
 > from within a file like "oregonator.cc" (see examples). 
 > 
 > * How about precision? Does octave use "double precision"-equivalent (I'm
 > talking Fortran now...) And how do I pass variables\values?
 > 
 > Is it possible to give me a small example how to do all this?
 > 
 > Thanks,
 > 
 > address@hidden
 > 
 > 
 




reply via email to

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