[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sparse matrix promoted to full for no reason
From: |
John W. Eaton |
Subject: |
Re: sparse matrix promoted to full for no reason |
Date: |
Fri, 20 Jul 2007 14:16:22 -0400 |
On 20-Jul-2007, nomad wrote:
| Unfortunately your reason does not seem to be right. This is a generic
| problem, try the following.
|
| s=speye(1000);
| s(1,1)=1; %promoted to full
What version of Octave are you using? I see the following with
2.9.12:
octave:1> s = speye (1000);
octave:2> s(1,1) = 1;
octave:3> typeinfo (s)
ans = sparse matrix
jwe