Assume the polynomial equation from a quadratic matrix is written as $$P=XHX^T$$ where $X=[1,x,x^2,\cdots,x^M ]$, $H$ is a symmetric matrix of order $(M+1)$. How do we find the roots of the above polynomial?
If not, when the matrix $H$ is more special, can the question be solved?