Re: Array half empty or half full?



so what exactly don't you like about this?

I don't have a code problem and I don't dislike anything about it. I
was wondering if there was a reason for it. So far, you and Loren are
simply saying it is definitional rather than the product of a
particular rationale other than being consistant. (Which is a good
reason by itself.)

I'm wondering if there is a practical *non-trivial* difference between
"empty 0x0," "empty 0x1," "empty 0x2," "empty 1x0," or "empty 0x0x1"
"and on and on?

As far as how *I* use MATLAB goes, it does not ever seem to matter (it
is trivial) because "empty" means there is nothing there to be
extracted, regardless of the size report. I have used 0x0 empty arrays
intentionally, and only created the 0x1 (or other non-0x0 empty), I
guess, by accident. It did not affect my code since my conditional was
basically ISEMPTY.

I suppose I can envision code being sensitive to the report if, of
course, it uses size reports in a particular/peculiar way. (Maybe I'm
starting to answer my own question.) But empty in any dimension means
there is "nothing there" to be pulled out, aside from the
dimensionality itself. I have never used MATLAB in a way where this
mattered, and so am curious if there is a way it is used by someone
where it does actually matter.

.



Relevant Pages

  • Re: Farmer Astronaut
    ... an Astronaut beating his wife would be career suicide even before it ... reason the review board ignored the report, ... Fill what's empty, empty what's full, ...
    (sci.space.history)
  • Re: Array half empty or half full?
    ... I don't have a code problem and I don't dislike anything about it. ... was wondering if there was a reason for it. ... regardless of the size report. ... I have used 0x0 empty arrays ...
    (comp.soft-sys.matlab)
  • Doggone @#$#@ MSWord.
    ... For some reason, ... no matter what I check or uncheck, if I have a 3-page report and put ...
    (sci.med.transcription)
  • problem with format event in Access 2000
    ... With the help of the print event I was able to add a constant number of this empty rows. ... Unfortunately they occur only in the screen preview but not when the report is printed on the printer. ... What is the reason for it? ...
    (microsoft.public.access.reports)
  • Re: Hussein AL-Jabr will drift Alejandro
    ... The buckets, springs, and ... atoms are all scary and precise. ... arranges a remaining matter in back of Elmo's paragraph. ... empty, fortunate, and influences in addition the farm. ...
    (sci.crypt)

Loading