-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* resolved pylint complaints in distribution benchmarks * cleaned up pylint messages in linearsolver, too * pulled out random spd matrix * finalised distribution and linearsolver * blacked results * black messed up my pylint ignore * removed benchmark directory from tox pylint ignore * blacked * re-fix ivpsolver and linearsolver * added pylint ignores, renamed property into method * renamed random spd matrix * globally ignored missing-function-docstring * documented benchmark change in tox file * blacked * mini docstring updates
- Loading branch information
Showing
5 changed files
with
73 additions
and
53 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
"""Reocurring constants and methods for benchmarking functions.""" | ||
|
||
import numpy as np | ||
|
||
|
||
SPD_MATRIX_5x5 = np.array( | ||
[ | ||
[2.3, -2.3, 3.5, 4.2, 1.8], | ||
[-2.3, 3.0, -3.5, -4.8, -1.9], | ||
[3.5, -3.5, 6.9, 5.8, 0.8], | ||
[4.2, -4.8, 5.8, 10.1, 6.3], | ||
[1.8, -1.9, 0.8, 6.3, 12.1], | ||
] | ||
) |
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
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