Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support left-side np.number elemwise operations. (#67)
* Added tests with np.float32 scalar * Add support np.scalar left-side multiplication. * Add an assertion to make sure nnz is preserved by scalar multiplication. * Add more tests for left-side operation with scalar.
- Loading branch information
1 parent
9be8058
commit 49f6479
Showing
2 changed files
with
49 additions
and
8 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