[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lists and cell arrays ?
From: |
John W. Eaton |
Subject: |
Re: lists and cell arrays ? |
Date: |
Tue, 18 Nov 2003 10:59:46 -0600 |
On 18-Nov-2003, David Bateman <address@hidden> wrote:
| > Soon (hopefully 2.1.52) you will also be able to write
| >
| > c = [c1, c2];
| >
| > to concatentate two cell arrays.
|
| This got my interest... Does this mean that concatenation will be made
| generic in 2.1.52, or only that cell arrays will be added to the existing
| code?
The intent is to make concatenation using [] work for all types
including user-defined types.
I plan to add horzcat- and vertcat-like routines to the octave_value
classes but still use a more efficient approach for some subset of
types to avoid unnecessary resizing when creating numeric matrices or
perhaps cell and structure arrays as well.
Perhaps we can also do better for cases when all the objects in the
concatentation list are the same type, but if not, you should still be
able to get concatenation to work piecewise with horzcat and vertcat.
jwe
-------------------------------------------------------------
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
-------------------------------------------------------------
- lists and cell arrays ?, Michael Creel, 2003/11/18
- lists and cell arrays ?, John W. Eaton, 2003/11/18
- Re: lists and cell arrays ?, David Bateman, 2003/11/18
- Re: lists and cell arrays ?, taltman, 2003/11/19
- Re: lists and cell arrays ?, John W. Eaton, 2003/11/19
- Re: lists and cell arrays ?, taltman, 2003/11/19
- Re: lists and cell arrays ?, John W. Eaton, 2003/11/19
- Re: lists and cell arrays ?, taltman, 2003/11/19
- Re: lists and cell arrays ?, taltman, 2003/11/19
- Re: lists and cell arrays ?, David Bateman, 2003/11/20
- Re: lists and cell arrays ?, John W. Eaton, 2003/11/20
- Re: lists and cell arrays ?, taltman, 2003/11/20