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

John W. Eaton jwe at octave.org
Wed Mar 4 14:13:43 CST 2009


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.

jwe


More information about the Octave-maintainers mailing list