numpy.polynomial.hermite_e.hermecompanion()

numpy.polynomial.hermite_e.hermecompanion

numpy.polynomial.hermite_e.hermecompanion(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 HermiteE basis polynomial. This provides better eigenvalue estimates than the unscaled case and for basis polynomials the eigenvalues are guaranteed to be real if numpy.linalg.eigvalsh is used to obtain them.

Parameters:

c : array_like

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

Returns:

mat : ndarray

Scaled companion matrix of dimensions (deg, deg).

Notes

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部