[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sparse matrix promoted to full for no reason
From: |
dbateman |
Subject: |
Re: sparse matrix promoted to full for no reason |
Date: |
Fri, 20 Jul 2007 10:24:38 -0700 (PDT) |
nomad wrote:
>
> I tried
>
> s = sparse(2,2);
> s(1,1) = 1; %fine here
> s(2,2) = 2; %promoted to full
>
> whos s
>
> What is it that I am doing wrong?
>
> thanks,
> krishna.
>
Nothing, this expected behavior for octave, as the full version takes less
space than the sparse one.
D.
--
View this message in context:
http://www.nabble.com/sparse-matrix-promoted-to-full-for-no-reason-tf4116917.html#a11712398
Sent from the Octave - General mailing list archive at Nabble.com.