-
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This should fix lots of corner cases of ufuncs handling stuff unexpectedly. - added _rows_and_cols which returns a DOK format of the rows and columns - added documentation about creating a sparse matrix from data, indices and pointers. - much faster creation of diagonal matrices And handles correctly offsets, out-of-bounds will be removed from the SparseCSR - added SparseCSR.toarray - added SparseCSR.__array__ to allow numpy handling - fixed SparseCSR dtype handling in ufuncs. The ufuncs result-type handling will be used. In some corner cases could the casting be wrong, now the dtype is explicitly created from the ufunc.resolve_dtypes - added more SparseCSR tests which should cover cases of non-sorted, sorted, and non-finalized matrices. - major clean-up of SparseCSR tests, removed setup and instantiated specific matrix fixtures. - lots of minor bug-fixes related to in-place operations Fixes #661 Signed-off-by: Nick Papior <[email protected]>
- Loading branch information
Showing
10 changed files
with
506 additions
and
329 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.