[SciPy-dev] new sparsetools + umfpack

Nathan Bell wnbell at gmail.com
Wed Jan 10 07:48:24 CST 2007


On 1/10/07, Travis Oliphant <oliphant at ee.byu.edu> wrote:
> Perhaps it would be useful to put a flag on sparse matrices
> (sorted_indices) or something like that which is true if the indices are
> sorted and updated when operations that could change it are encountered.

In the case of sparse matrices, how would you prevent the user from
manipulating the arrays directly?  I can imagine a user writing a
function that operates directly on the underlying arrays
(indptr,colind/rowind,data) without invalidating the flag.

-- 
Nathan Bell wnbell at gmail.com


More information about the Scipy-dev mailing list