help-octave
[Top][All Lists]
Advanced

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

help me with .oct files


From: John W. Eaton
Subject: help me with .oct files
Date: Thu, 3 Sep 1998 23:31:45 -0500 (CDT)

On 28-Aug-1998, Michael Numminen <address@hidden> wrote:

| Suppose that I have a script file, lmsfir.m which I want to translate to 
| C++ and compile it to an lmsfir.oct. The lmsfir.m look like:
| 
|       [y,f,e,a] = function(x,d,f,a)
|       
|       L = length(f);
|       M = length(x);
|       N = length(d);
| 
|       # ...
|       
|       there x, d, f and y, f, e is vectors and a is an scalar.
| 
| What I wounder is, how should I pas the arguments x, d, f, a to the
| lmsfir.oct file, and which type they should be of? How can I get the
| vectors length? If I want to create an new vector, which type should
| this be of?
| And I wounder how should I return the vectors y, f, e and the scalar a?
| The last questions is where can find and completly manual for oct file
| programming?

Sorry, there isn't a complete manual for Octave's internals yet.

The section on dynamicall linked functions in the Octave manual
provides a short introduction, and there are lots of examples
distributed with the Octave sources (grep the .cc files for DEFUN).

jwe



reply via email to

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