-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
__add__, __mul__, __pow__ operators for Pk2D (#894)
* Allow addition of two Pk2D objects * Make flake8 happy. * Added __mul__ and __pow__ operators. * Test for operator composition. * Better test coverage * pacify flake8 * Use TypeErrors, allow addition of constant, warn about powers. * Added test for warning. * More verbose error message. * Added warning when interpolation is happening. * More verbose warning.
- Loading branch information
1 parent
0d0ac4b
commit a74c666
Showing
2 changed files
with
271 additions
and
2 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