Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Simon Perkins
ducc
Commits
da0ac67a
Commit
da0ac67a
authored
May 10, 2020
by
Martin Reinecke
Browse files
reproducible runs
parent
8796c200
Changes
1
Hide whitespace changes
Inline
Side-by-side
pypocketfft/demos/bench.py
View file @
da0ac67a
...
...
@@ -3,6 +3,8 @@ import pypocketfft
from
time
import
time
import
matplotlib.pyplot
as
plt
np
.
random
.
seed
(
42
)
def
_l2error
(
a
,
b
):
return
np
.
sqrt
(
np
.
sum
(
np
.
abs
(
a
-
b
)
**
2
)
/
np
.
sum
(
np
.
abs
(
a
)
**
2
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment