help-octave
[Top][All Lists]
Advanced

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

Calling other functions from .oct files


From: Peter Williams
Subject: Calling other functions from .oct files
Date: Wed, 30 Apr 2003 23:32:06 -0400
User-agent: KMail/1.5.1

Hi everyone, 
        I'm starting to do some work with .oct files and I need a little 
guidance.  The classes and structures document is very useful, but 
what I want to do is call functions that I would normally use in a .m 
from my C++ code.  I'm not really sure how to go about this, or where 
to look in the source for examples.
        If someone could point me in the right direction or give me a brief 
example of how you would call "randn" from C++ source.  I know I can 
use numerical recipies inside my own code to accomplish this, but I'm 
curious how/if I can access the rand.cc source from my code.  Looked 
through Da Coda, but I didn't see anything like this. 

Thanks, 
Pete Williams



-------------------------------------------------------------
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]