Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ f
Function
f
numpy/polynomial/tests/test_classes.py:146–147 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
144
def
test_fit(Poly):
145
146
def
f(x):
147
return
x*(x - 1)*(x - 2)
148
x = np.linspace(0, 3)
149
y = f(x)
150
Callers
15
is_deprecated
Function · 0.85
test_f
Method · 0.85
test_integer_dtype
Function · 0.85
test_integer_repeat
Function · 0.85
params_0
Function · 0.85
params_1
Function · 0.85
test_f
Method · 0.85
test_f
Method · 0.85
test_nanfunctions_matrices
Function · 0.85
test_nanfunctions_matrices_general
Function · 0.85
test_instance_methods
Method · 0.85
wrapper
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected