[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 |
hmm....
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]'.
/Fredrik
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:
>
> http://www.mathworks.com/support/tech-notes/1100/1109.html
>
> 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: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- C++ template, Fredrik Bulow, 2004/10/03
- Re: C++ template, Paul Thomas, 2004/10/03
- Re: C++ template,
Fredrik Bulow <=
- Re: C++ template, Stefan van der Walt, 2004/10/04
- Re: C++ template, Fredrik Bulow, 2004/10/04
- Re: C++ template, Paul Thomas, 2004/10/04
- Re: C++ template, Mike Miller, 2004/10/04
- Re: C++ template, Fredrik Bulow, 2004/10/05
- Re: C++ template, Henry F. Mollet, 2004/10/04
- Re: C++ template, Fredrik Bulow, 2004/10/04