octave-maintainers
[Top][All Lists]
Advanced

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

cell behavior


From: Daniel J Sebald
Subject: cell behavior
Date: Fri, 21 Jan 2005 02:49:12 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020

Is the following proper behavior of cell assignments?  (2.1.64)

octave:124> C = cell(2,1)
C =

{
 [1,1] = [](0x0)
 [2,1] = [](0x0)
}

octave:125> C(2) = []
C =

{
 [1,1] = [](0x0)
}

It could be interpretted two ways, but my intuition would be that C should remain just as it already is.

I have an iterative search that some times comes up empty. (I realize it is possible to fix this with a conditional "isempty".)

Dan



reply via email to

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