octave-maintainers
[Top][All Lists]
Advanced

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

Re: Diagonal v. sparse matrices [was Re: deprecated functions]


From: Jaroslav Hajek
Subject: Re: Diagonal v. sparse matrices [was Re: deprecated functions]
Date: Wed, 4 Mar 2009 21:16:31 +0100

On Wed, Mar 4, 2009 at 9:13 PM, John W. Eaton <address@hidden> wrote:
> On  4-Mar-2009, Jason Riedy wrote:
>
> | I suppose the shortest path to a fix is to revert spdiag.
>
> Maybe it would be best to leave spdiag deprecated and just translate
> the spdiag call to spdiags.  That will be a little more complicated
> that just calling "spdiags (varargin{:})", but I think it should be
> possible without too much effort.  Then the deprecated warning message
> can recommend using spdiags instead.
>

But why, by heaven? What's so wrong with diag(sparse(vector))?



-- 
RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz



reply via email to

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