octave-maintainers
[Top][All Lists]
Advanced

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

Re: Preserving signbit for range operator


From: Daniel J Sebald
Subject: Re: Preserving signbit for range operator
Date: Mon, 25 Feb 2013 14:48:07 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 02/25/2013 02:37 PM, Daniel J Sebald wrote:

PS: A bit arbitrary, but this result

Sorry, forgot to erase that bit.  I was going to inquire about the result

octave:25> [1:0:1]
ans = [](1x0)

where the increment is zero. Technically, one could argue [a:0:b] = a. That is, there may be an infinite number of integer values K for which a+K*0 < b, but all values of a+K*0 are a. Arbitrary choice I suppose.

Dan


reply via email to

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