From owner-help-octave at bevo dot che dot wisc dot edu Wed Jun 18 05:05:50 1997 Subject: dl and fortran From: Stef Pillaert BK To: help-octave at bevo dot che dot wisc dot edu Date: Wed, 18 Jun 1997 12:05:46 +0000 (MET) 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, Stef dot Pillaert at kahoslg dot be