Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ f
Function
f
recipes/Python/578616_Riemann_Zeta_Function_Graph/recipe-578616.py:14–18 ·
view source on GitHub ↗
(z)
Source
from the content-addressed store, hash-verified
12
ya = -40.0; yb = 40.0
13
14
def
f(z):
15
t = 0.0
16
for
i in range(1, maxIt):
17
t += 1.0 / i ** z
18
return
t
19
20
print
"Finding max values of x, y, z..."
21
maxAbsX = 0.0; maxAbsY = 0.0; maxAbsZ = 0.0
Callers
2
recipe-578616.py
File · 0.70
process
Method · 0.50
Calls
1
range
Function · 0.85
Tested by
no test coverage detected