help-octave
[Top][All Lists]
Advanced

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

Documentation of liboctave / dynamically linked programs


From: Douglas Eck
Subject: Documentation of liboctave / dynamically linked programs
Date: Tue, 19 Feb 2002 10:02:07 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011221

As for documentation... for now it's best to search the mail archives
using keywords like "dynamic" and "liboctave" and "c++".
See www.octave.org/octave-lists/archive/index.html Also, I've found almost
everything I need by using grep in (subdirectories of)
/usr/include/octave/octave-2.x.xx
/usr/src/octave-2.x.xx/liboctave
/usr/src/octave-2.x.xx/src


Also, note that when all else fails you can always get
the underlying data from a vector or matrix and do what you want.
I presume this is most of what you'll do if you're working with
another library, presumably not using octave datastructures.

Matrix m = Matrix(100,100).fill(0.0);
double * m_fv      = m.fortran_vec();     //ordered by column
int m_rows=m.rows();

//These are the same
cout << m(10,14) << endl;
cout << m_fv[14*m_rows+10] << endl;


Myself and a couple of other people have independantly promised
liboctave FAQs. It's at the top of my non-research list (really). But I don't
see it happening until March at the earliest.

Cheers,
Doug



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