This is documentation for an old release of NumPy (version 1.14). Read this page in the documentation of the latest stable release (version 2.2).

numpy.polynomial.polyutils.PolyDomainError

exception numpy.polynomial.polyutils.PolyDomainError[source]

Issued by the generic Poly class when two domains don’t match.

This is raised when an binary operation is passed Poly objects with different domains.