MCPcopy
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

150def 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_legfitMethod · 0.70
test_hermfitMethod · 0.70
test_hermefitMethod · 0.70
test_polyfitMethod · 0.70
test_lagfitMethod · 0.70
test_fitFunction · 0.70
test_chebfitMethod · 0.70
is_deprecatedFunction · 0.50
test_integer_dtypeFunction · 0.50
test_integer_repeatFunction · 0.50
params_0Function · 0.50
params_1Function · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected