octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nd cell array


From: David Bateman
Subject: Re: Nd cell array
Date: Thu, 4 Mar 2004 14:21:03 +0100
User-agent: Mutt/1.4.1i

According to David Bateman <address@hidden> (on 03/04/04):
>    for (int i=0; i < dv(0); i++)
>      for (int j=0; j < dv(1); j++)
>        for (int k=0; k < dv(2); k++)
>          m (i, j, k) = ...;

of course that should read

    for (int i=0; i < dv.numel (); i++)
      m(i) = ...;

-- 
David Bateman                                address@hidden
Motorola CRM                                 +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 1 69 35 77 01 (Fax) 
91193 Gif-Sur-Yvette FRANCE

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary



reply via email to

[Prev in Thread] Current Thread [Next in Thread]