help-octave
[Top][All Lists]
Advanced

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

Octave C++ classes


From: Tommaso Cucinotta
Subject: Octave C++ classes
Date: Wed, 7 Jul 2004 18:05:02 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

Hi,

I'd like to know if there is a "natural" way to
translate something like

  X_rev = X(length(X):-1:1)

(or making other more advanced row or column selections,
like 1:2:9 ecc...) into C++ using the octave classes.

It seems to me the Range class is what I need to use, but
I cannot figure out how to index a vector or matrix with a
Range.

Also, I would like to know if anybody ever wrote an Octave to C++
translator.

Many thanks in advance,

        Tommaso.



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