help-octave
[Top][All Lists]
Advanced

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

Re: docs for dynamic loaded functions


From: John W. Eaton
Subject: Re: docs for dynamic loaded functions
Date: Wed, 29 Oct 2003 13:19:06 -0600

On 29-Oct-2003, Glenn Golden <address@hidden> wrote:

| I found svd.cc and qz.cc to be particularly useful as template/examples.

The code in qz.cc might be helpful as an example of how to quickly get
some Fortran code hooked up to Octave, but it is not a very good
example of how to write functions that might someday be included in
Octave.  The reason is that we'd like all .oct functions to be short
and sweet.  They should just be checking arguments and extracting more
basic types from octave_value{,_list} objects, then passing the
computational stuff off to other lower-level C++ code.  That way the
computations can also be used easily in other parts of the C++ code,
not just from the scripting language.  That's why most of the Fortran
code is called from liboctave, not directly from the DLD functions.
Someday, qz.cc and balance.cc should be cleaned up to match this
model.  Would someone like to help out by working on that?

Thanks,

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]