[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OCTAVE: Is Array3 available as a 3D array datatype in Octave
From: |
John W. Eaton |
Subject: |
Re: OCTAVE: Is Array3 available as a 3D array datatype in Octave |
Date: |
Thu, 10 Jul 1997 01:31:14 -0500 |
On 9-Jul-1997, Bryce Gardner <address@hidden> wrote:
| Just a thought on multidimensional arrays:
| One way to extend octave to handle fairly complex multidimensional data
| structures would be to allow arrays of structures.
|
| a(1).a=[1,2;3,4];
| a(2).a=[5,6;7,8];
|
| and then a(2).a(1,2) would access the 6 and a(:).a(1,1) would be
| [1;5] or [1,5].
The next major release of Octave (not any 2.0.x release) will support
generic lists and more relaxed parsing of indexing operations, so this
sort of thing should be possible.
Thanks,
jwe