-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce memory requirements of
Identity
linop (#501)
* Clean up * Work in progress: avoid creating a potentially large diagonal array for every Identity linop * Trivial edit * Typo fix * Resolve some bugs * Remove dependence of behaviour on order of operands * Update year * Remove attempt to impose commutative behaviour * Clean up post #500 bug fix * Clean up * Scaling of an Identity returns a LinearOperator, not a Diagonal * Add some tests * Add ScaledIdentity linop * Make binary operator behaviour commutative * Add some tests * Clean up * Resolve mypy errors * Address PR review comment * Fix bug identified in PR review * Add tests * Wrapper simplification in progress * Clean up _wrap_add_sub. Partially addresses #502 * Remove need for overriding __rmul__ * Remove now-unneccesary __rmul__ definitions
- Loading branch information
Showing
12 changed files
with
471 additions
and
136 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
Oops, something went wrong.