numpy.polynomial.hermite.hermcompanion()
numpy.polynomial.hermite.hermcompanion
-
numpy.polynomial.hermite.hermcompanion(c)
[source] -
Return the scaled companion matrix of c.
The basis polynomials are scaled so that the companion matrix is symmetric when
c
is an Hermite basis polynomial. This provides better eigenvalue estimates than the unscaled case and for basis polynomials the eigenvalues are guaranteed to be real ifnumpy.linalg.eigvalsh
is used to obtain them.登录查看完整内容