-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch adds convenience wrappers around the "full" calls to `sparse!` and `spzeros` that allocates the intermediate arrays of appropriate size, but reuses the input vectors for the final matrix storage. These methods are useful in the quite common case where the COO representation is constructed with the sole purpose of constructing the sparse matrix and then thrown away.
- Loading branch information
1 parent
2c8b8b1
commit 6ccc974
Showing
3 changed files
with
101 additions
and
0 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