MCPcopy Index your code
hub / github.com/numpy/numpy / test_froomroots

Function test_froomroots

numpy/polynomial/tests/test_symbol.py:204–207  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

202
203
204def test_froomroots():
205 roots = [-2, 2]
206 p = poly.Polynomial.fromroots(roots, symbol='z')
207 assert_equal(p.symbol, 'z')
208
209
210def test_identity():

Callers

nothing calls this directly

Calls 2

assert_equalFunction · 0.90
fromrootsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…