### Navigation

- index
- modules |
- modules |
- next |
- previous |
- NumPy v1.7 Manual (DRAFT) »
- NumPy Reference »
- Routines »
- Polynomials »
- Polynomial Package »
- Polynomial Module (`numpy.polynomial.polynomial`) »

# numpy.polynomial.polynomial.polycompanion

`numpy.polynomial.polynomial.``polycompanion`(c)

  Return the companion matrix of c.

  The companion matrix for power series cannot be made symmetric by scaling the basis, so this function differs from those for the orthogonal polynomials.

  Parameters : | c : array_like 1-D array of polynomial coefficients ordered from low to high degree.
  Returns : | mat : ndarray Companion matrix of dimensions (deg, deg).

  Notes

  New in version 1.7.0.

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- NumPy v1.7 Manual (DRAFT) »
- NumPy Reference »
- Routines »
- Polynomials »
- Polynomial Package »
- Polynomial Module (`numpy.polynomial.polynomial`) »