octave-maintainers
[Top][All Lists]
Advanced

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

Re: bin2dec behavior different from Matlab?


From: Daniel J Sebald
Subject: Re: bin2dec behavior different from Matlab?
Date: Sat, 17 Mar 2012 14:01:51 -0500
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 03/17/2012 01:37 PM, Daniel J Sebald wrote:

2) Internally, when a cell array is created, is there some flag or
descriptor indicating that the array has a consistent class across the
whole array? That is "all_same_class" would indicate the cell array is
all "char" or all "double", etc. As an example, the cellstr() routine
could, rather than set each cell's class, set the "all_the_same_class"
variable and copy the contents of the string matrix. Not much extra
work, almost the same as a copy.

I didn't mean just copy. What I meant was "deal" the strings to the cells without having to do much extra work, sort of on the order of a copy.

Dan


reply via email to

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