MCPcopy Create free account
hub / github.com/numpy/numpy / test_composition

Function test_composition

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

Source from the content-addressed store, hash-verified

183
184
185def test_composition():
186 p = poly.Polynomial([3, 2, 1], symbol="t")
187 q = poly.Polynomial([5, 1, 0, -1], symbol="λ_1")
188 r = p(q)
189 assert r.symbol == "λ_1"
190
191
192#

Callers

nothing calls this directly

Calls 1

pFunction · 0.85

Tested by

no test coverage detected