[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: indexing improvements - advice wanted
From: |
John W. Eaton |
Subject: |
Re: indexing improvements - advice wanted |
Date: |
Wed, 29 Oct 2008 13:57:11 -0400 |
On 29-Oct-2008, John W. Eaton wrote:
| so that we can write things like
|
| Array<T> ra1 (...);
| octave_idx_type i, j;
| ...
| Array<T> ra2 = ra1(i,j);
|
| ?
Sorry, this is a bad example. A more useful one would be
Array<T> ra1 (...);
Range i, j;
...
Array<T> ra2 = ra1(i,j);
or
Array<T> ra1 (...);
Array<double> i, j;
...
Array<T> ra2 = ra1(i,j);
etc. This way, it would be possible to do indexing in C++ that looks
more like the scripting language.
jwe
- indexing improvements - advice wanted, Jaroslav Hajek, 2008/10/25
- Re: indexing improvements - advice wanted, David Bateman, 2008/10/27
- Re: indexing improvements - advice wanted, Jaroslav Hajek, 2008/10/27
- Re: indexing improvements - advice wanted, John W. Eaton, 2008/10/29
- Re: indexing improvements - advice wanted,
John W. Eaton <=
- Re: indexing improvements - advice wanted, Jaroslav Hajek, 2008/10/29
- Re: indexing improvements - advice wanted, John W. Eaton, 2008/10/29
- Re: indexing improvements - advice wanted, Jaroslav Hajek, 2008/10/29
- Re: indexing improvements - advice wanted, John W. Eaton, 2008/10/29
- Re: indexing improvements - advice wanted, David Bateman, 2008/10/29
Re: indexing improvements - advice wanted, John Swensen, 2008/10/29