numpy.polynomial.polynomial.polycompanion

numpy.polynomial.polynomial.polycompanion(cs)

Return the companion matrix of cs.

Parameters :

cs : array_like

1-d array of series coefficients ordered from low to high degree.

Returns :

mat : ndarray

Scaled companion matrix of dimensions (deg, deg).

Previous topic

numpy.polynomial.polynomial.polypow

Next topic

numpy.polynomial.polynomial.polydomain

This Page