Polynomial to companion matrix
Given the polynomial
the companion matrix is the square matrix defined as
where .
Syntax
polynomial_to_companion_matrix(Polynomial)
Description
Given a polynomial, returns the companion matrix as described above.
Given the polynomial
the companion matrix is the square matrix defined as
where .
polynomial_to_companion_matrix(Polynomial)
Given a polynomial, returns the companion matrix as described above.