help-octave
[Top][All Lists]
Advanced

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

Re: A double negative


From: A S Hodel
Subject: Re: A double negative
Date: Fri, 26 Mar 2004 12:28:12 -0600

the question from the original poster is answered this way:

octave:1> A = []
A = [](0x0)
octave:2> !A
ans = [](0x0)
octave:3>

So, the question is, if I say nothing at all, am I right (true) or wrong (false)? [Omit springboard to numerous moral dilemmas best discussed in a philosophy class.]

I don't think that Octave is the proper venue for us to define that answer.

On Friday, March 26, 2004, at 11:32 AM, Jonathan C. Webster wrote:



Vic Norton wrote:
I was going crazy last night trying to debug an octave routine. I finally found the problem. I had assumed that, if A is false, then ~A is must be true. My assumption turned out to be false in octave.


]$ octave -q
octave:1> A = 1
A = 1
octave:2> !A
ans = 0
octave:3>




-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



A. S. Hodel Dept. ECE, 200 Broun Hall, Auburn University AL 36849-5201
(334) 844-1854/fax(334) 844-1809, http://www.eng.auburn.edu/users/hodelas , address@hidden



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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