Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/numpy/numpy
/ f
Function
f
numpy/polynomial/tests/test_classes.py:152–153 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
150
def
test_fit(Poly):
151
152
def
f(x):
153
return
x * (x - 1) * (x - 2)
154
x = np.linspace(0, 3)
155
y = f(x)
156
Callers
15
test_legfit
Method · 0.70
test_hermfit
Method · 0.70
test_hermefit
Method · 0.70
test_polyfit
Method · 0.70
test_lagfit
Method · 0.70
test_fit
Function · 0.70
test_chebfit
Method · 0.70
is_deprecated
Function · 0.50
test_integer_dtype
Function · 0.50
test_integer_repeat
Function · 0.50
params_0
Function · 0.50
params_1
Function · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected