[Top][All Lists]

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

Re: C++ template

From: Fredrik Bulow
Subject: Re: C++ template
Date: Mon, 4 Oct 2004 04:46:22 -0500


Linear indexing (i.e. a(6)==a(1,2) for a 5x5 matrix) does not seem to be
implemented yet. Or can it be turned on in some way? (Linear indexing is
described in the below link.)

The "find" function seems to be built on the idea that linear indexing
is available since find(eye(5)) does return [1 7 13 19 25]'.


On Mon, 2004-10-04 at 07:19, Paul Thomas wrote:
> Fredrik Bulow wrote:
> >Thank you!
> >  
> >
> You are more than welcome.
> >  
> >
> Most octave programmes can be vectorised, although it is not always 
> obvious how.  All that applies to Matlab, in this area, applies to 
> octave as well.  The following technical note is therefore very useful 
> and should be read by all octave/Matlab/Scilab/... users, regardless of 
> which they use:
> The speedup that can be obtained is often more than that from writing a 
> dynamically linked function - especially if the development time of the 
> latter is taken into account.
> Best regards
> Paul T

Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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