MCPcopy 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

12ya = -40.0; yb = 40.0
13
14def f(z):
15 t = 0.0
16 for i in range(1, maxIt):
17 t += 1.0 / i ** z
18 return t
19
20print "Finding max values of x, y, z..."
21maxAbsX = 0.0; maxAbsY = 0.0; maxAbsZ = 0.0

Callers 2

recipe-578616.pyFile · 0.70
processMethod · 0.50

Calls 1

rangeFunction · 0.85

Tested by

no test coverage detected