[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: equivalent for C-style init: structname varname[] = {...} ?
From: |
Francesco Potortì |
Subject: |
Re: equivalent for C-style init: structname varname[] = {...} ? |
Date: |
Mon, 12 Nov 2012 23:25:00 +0100 |
>Also, struct arrays, cell arrays, and plain arrays are the basic types
>in Octave. Plain arrays are of homogenous type, cell arrays are of
>heterogenous type, where each cell can contain any Octave type,
>including another cell, and a struct array is a cell array where one
>dimension is indexed by strings instead of positive integers. These
>are your basic building blocks, and perhaps they are enough for
>solving your problem at hand. The cell() and struct() functions can be
>used to build cell and struct arrays and ordinary arrays can be built
>with [] notation. In addition, you can use {} to build cell arrays.
Well, this is a good introduction to Octave data structures. It would
be nice to put somehing like that in the manual.
Maybe as an introduction to a new section whose subsections would be the
current "Data types" and "Data containers"?
--
Francesco Potortì (ricercatore) Voice: +39.050.315.3058 (op.2111)
ISTI - Area della ricerca CNR Mobile: +39.348.8283.107
via G. Moruzzi 1, I-56124 Pisa Skype: wnlabisti
(entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it
- Re: Acknowledge in paper, (continued)
- Re: Acknowledge in paper, Nicholas Jankowski, 2012/11/14
- Re: Acknowledge in paper, Ismael Diego Nunez-Riboni, 2012/11/14
- Re: Acknowledge in paper, Ismael Diego Nunez-Riboni, 2012/11/14
- Re: Acknowledge in paper, Francesco Potortì, 2012/11/15
- Re: Acknowledge in paper, Jordi Gutiérrez Hermoso, 2012/11/14
- Re: Acknowledge in paper, Nicholas Jankowski, 2012/11/14
- Re: Acknowledge in paper, Juan Pablo Carbajal, 2012/11/14
- Re: Acknowledge in paper, Nicholas Jankowski, 2012/11/14
- Re: Acknowledge in paper, Juan Pablo Carbajal, 2012/11/14
- Re: equivalent for C-style init: structname varname[] = {...} ?, Jordi Gutiérrez Hermoso, 2012/11/13
- Re: equivalent for C-style init: structname varname[] = {...} ?,
Francesco Potortì <=
- Re: equivalent for C-style init: structname varname[] = {...} ?, Yury T., 2012/11/13
- Re: equivalent for C-style init: structname varname[] = {...} ?, Sergei Steshenko, 2012/11/12
- Re: equivalent for C-style init: structname varname[] = {...} ?, Yury T., 2012/11/12
- Re: equivalent for C-style init: structname varname[] = {...} ?, Jordi Gutiérrez Hermoso, 2012/11/12
- Re: equivalent for C-style init: structname varname[] = {...} ?, Sergei Steshenko, 2012/11/12
- Re: equivalent for C-style init: structname varname[] = {...} ?, Yury T., 2012/11/12
- Re: equivalent for C-style init: structname varname[] = {...} ?, Sergei Steshenko, 2012/11/12
- Re: equivalent for C-style init: structname varname[] = {...} ?, Sergei Steshenko, 2012/11/12
Re: equivalent for C-style init: structname varname[] = {...} ?, Sergei Steshenko, 2012/11/19