MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / polynomial_evaluation.py

File polynomial_evaluation.py

maths/polynomial_evaluation.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1from collections.abc import Sequence
2
3
4def evaluate_poly(poly: Sequence[float], x: float) -> float:

Callers

nothing calls this directly

Calls 2

evaluate_polyFunction · 0.85
hornerFunction · 0.85

Tested by

no test coverage detected