-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add optional
out
argument for transpose
and copy
in `StencilMat…
…rix` and `BlockLinearOperator` (#357) Implement the possibility to pass an `out` argument to the methods `copy` and `transpose` of classes `StencilMatrix` and `BlockLinearOperator`. This is specially useful to avoid creating temporaries when a linear operator is copied or transposed frequently, for example in the case of iterative algorithms which update a matrix at every step. Serial and parallel tests were added to check the implementation.
- Loading branch information
Showing
4 changed files
with
247 additions
and
47 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.