help-octave
[Top][All Lists]
Advanced

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

Re: multiplication by zero


From: John W. Eaton
Subject: Re: multiplication by zero
Date: Tue, 18 May 2010 13:15:20 -0400

On 18-May-2010, James Sherman Jr. wrote:

| It will always be evaluated.  It has to simply because 0 times something isn't
| always 0.  The specific case I'm thinking of is 0*NaN is NaN not 0.

Also, the size of 0 * x depends on the size of X, so you have to
evaluate both sides to know how many elements the result should have.

jwe



reply via email to

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