… csgraph. See ticket 1669 for details. Also skip some other tests where needed (Python 2.4, NumPy 1.5.x).
Mutually exclusive to the previously added 'order=' argument, this should serve the same crowd, i.e. people who occasionally need a dense copy of their sparse matrix but *really* can't afford to be allocating an array that size over and over again. Refactored a bit into the base class so as to not duplicate code between lil.py and coo.py. Tests included.
This adds an 'order' keyword to select the memory layout of the resulting array when using toarray() to create a dense array from a sparse matrix type. The default remains a C-contiguous array. Tests are also updated to test both the default and explicit 'C' and 'F' modes. Generated output of SWIG will follow in a separate commit, so that this one can be easily cherry-picked if what I generated is unsatisfactory.
Fixes a number of tickets - #1528, #1385, #1576, #1632 - and all test warnings. 61c61e9 TST: fix ResourceWarnings under python 3.2. Closes #1385. 8231c9f TST: clean up cluster.vq test file. d6c56db TST: io.wavfile: filter out warning. e089c85 MAINT: fix some build warnings. Closes ticket 1528. d56afef TST: use warning filters correctly in all tests. dcfc275 TST: filter test warnings from bivariate spline tests in interpolate. 8a8a0a2 BUG: py3k: remove unnecessary use of types.NoneType; removed in py3k. e60098c BUG: py3k: func_name attribute of functions was removed, use __name__. dc3a6f6 STY: fix odd use of array.nonzero(). Closes #1632. 242106b STY: simplify opening data files in cluster tests.
- create a fast path for plain ndarrays in spmatrix.__mul__ - remove _isinstance (apparently was only used in local development) - memoize sputils.upcast
…that they can be used in arithmetic
…re more down in the subdirectories of linalg)
…ryone who contributed!)
fixed handling of dtype= constructor argument in dense case
use native matrix * vector product in dok_matrix renamed _mul_densematrix to _mul_multivector
ensure that coo indices are ints
removed csr/csc matvec output parameter (for now)