[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lists struture in GNU Octave
From: |
John W. Eaton |
Subject: |
Re: lists struture in GNU Octave |
Date: |
Tue, 21 Oct 2003 21:18:38 -0400 |
On 21-Oct-2003, address@hidden <address@hidden> wrote:
| http://octave.sourceforge.net/index/language.html#Lists
|
| Note that, a la' LISP, you can nest lists within lists:
|
| ***
|
| octave> list ( 1, 2, list(3) )
This will work, but what you probably really want to use in
Octave/Matlab is cell arrays. Octaves's list data type was written
before cell arrays existed in Matlab. Now that cell arrays are
available, lists remain in Octave only for backward compatibility.
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
-------------------------------------------------------------