help-octave
[Top][All Lists]
Advanced

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

Re: struct weirdness


From: Sergei Steshenko
Subject: Re: struct weirdness
Date: Sun, 2 Sep 2012 13:20:17 -0700 (PDT)


--- On Sun, 9/2/12, Jordi Gutiérrez Hermoso <address@hidden> wrote:

> From: Jordi Gutiérrez Hermoso <address@hidden>
> Subject: Re: struct weirdness
> To: "Sergei Steshenko" <address@hidden>
> Cc: "address@hidden" <address@hidden>, "Przemek Klosowski" <address@hidden>
> Date: Sunday, September 2, 2012, 8:21 AM
> On 1 September 2012 19:54, Sergei
> Steshenko <address@hidden>
> wrote:
> > I hope that's what Przemek expected and I hope Jordi
> still enjoys my lack of understanding of CS lists.
> 
> Yeah, you still don't understand struct arrays. You did a
> scalar
> struct, not a struct array, so with your example, s(2)
> doesn't give
> you a scalar struct with four bits of information.
> 
> Nice try, though.
> 
> - Jordi G. H.
> 

And I didn't even try to understand CS lists in this case, I tried to address 
Przemek's complaint regarding unnecessary/unneeded (if I understood him 
correctly) replication.

I think Przemek simply wanted to encode a table (every row in his example has 4 
entries) as a struct in one shot, and I provided a function which does that.

Regards,
  Sergei.


reply via email to

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