help-octave
[Top][All Lists]
Advanced

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

call fortran with integer arrays


From: Muhali
Subject: call fortran with integer arrays
Date: Fri, 27 Feb 2015 04:49:29 -0800 (PST)

I have a fortran function that is slightly different from  this example
<https://www.gnu.org/software/octave/doc/interpreter/Calling-External-Code-from-Oct_002dFiles.html>
  

https://www.gnu.org/software/octave/doc/interpreter/Calling-External-Code-from-Oct_002dFiles.html

In my case n is an integer array instead of a simple integer. - I guess I
need the equivalent for the double array a, as here:

   NDArray a = args(0).array_value ();
   double *av = a.fortran_vec ();

How do I do this?

M.




--
View this message in context: 
http://octave.1599824.n4.nabble.com/call-fortran-with-integer-arrays-tp4668870.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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