[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: deprecated functions
From: |
Jason Riedy |
Subject: |
Re: deprecated functions |
Date: |
Thu, 05 Mar 2009 13:46:16 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) |
And John W. Eaton writes:
> But exactly what would be catastrophically bad about it?
Three differences pop out immediately, in decreasing order of
anyone likely caring:
- There are no single-precision sparse matrices, so single-prec
diagonal and permutation matrices need to devolve into dense.
- eye(1) * sparse (1, 1, 1) would produce a 1x1 sparse matrix rather
than a scalar. Likely some odd problems with 0-dim matrices, too.
- Any code relying on the exceptional behavior will be broken. That
is, (diag * sparse) / 0 will not have NaNs filling the zeros of the
sparse matrix.
Obviously, I won't consider those catastrophic, but they are
differences.
Jason
- Re: deprecated functions, (continued)
- Re: deprecated functions, Jason Riedy, 2009/03/05
- Re: deprecated functions, Jaroslav Hajek, 2009/03/05
- Re: deprecated functions, John W. Eaton, 2009/03/04
- Re: deprecated functions, Jason Riedy, 2009/03/04
- Re: deprecated functions, John W. Eaton, 2009/03/04
- Re: deprecated functions, Jaroslav Hajek, 2009/03/05
- Re: deprecated functions,
Jason Riedy <=
- Re: deprecated functions, Jason Riedy, 2009/03/04
- Re: deprecated functions, Jaroslav Hajek, 2009/03/04
- Re: deprecated functions, Jaroslav Hajek, 2009/03/04