[Top][All Lists]

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

Re: deprecated functions

From: John W. Eaton
Subject: Re: deprecated functions
Date: Wed, 4 Mar 2009 15:32:05 -0500

On  4-Mar-2009, Jaroslav Hajek wrote:

| diag(sparse(vector)) * sparse matrix,
| obviously. It will be less efficient than with dense matrices, but will work.

Ah, OK, then I think the spdiag function should be modified to detect
that the argument is a vector with more than one element and do the
above instead of simply calling diag (varargin{:}).


reply via email to

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