octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #34145] need for ifdef test


From: Jordi Gutiérrez Hermoso
Subject: [Octave-bug-tracker] [bug #34145] need for ifdef test
Date: Sat, 27 Aug 2011 18:45:10 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110109 Spacedragon/3.6.13

Follow-up Comment #3, bug #34145 (project octave):

> Symantics and word games are irrelevant. 

I'm not sure what to write, then. You want isnan, which is a function that
checks if each element of a matrix is NaN or not to crossreference exist,
because you were thinking of the phrase "is defined?" instead of "exists?" The
exist function is documented in the section of the manual that about gathering
information of the environment, related to the who and whos functions, which
already cross reference exist. I'm all for better documentation, but I don't
exactly understand the relationship between a function that tests each element
of a matrix to a function that tests if the workspace has a variable, except,
as you put it, semantics and word games.

That being said, I did make the following change on the stable branch:

http://hg.savannah.gnu.org/hgweb/octave/rev/aaf6fbb2512f

Will that suffice, instead of putting cross references to "exist" in all of
those functions?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34145>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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