MCPcopy Create free account
hub / github.com/evalplus/evalplus / derivative

Function derivative

tools/humaneval/fix_v014.py:22–23  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

20 return poly(xs, x)
21
22 def derivative(x):
23 return poly(dxs, x)
24
25 x, tol = 0, 1e-5
26 for _ in range(1000):

Callers 1

check_validFunction · 0.85

Calls 1

polyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…