-
-
Notifications
You must be signed in to change notification settings - Fork 447
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use
ndarray/base/assign
for assignment
This commit should allow for slightly better performance for real- to-real assignment, as it removes an unnecessary identity function call. For real-to-complex assignment, we leverage a specialized array element accessor to convert a real number to an appropriately cast complex number.
- Loading branch information
Showing
1 changed file
with
4 additions
and
24 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