本文简要介绍 python 语言中  numpy.polynomial.hermite_e.hermevander  的用法。
- 用法:- polynomial.hermite_e.hermevander(x, deg)
- Pseudo-Vandermonde 给定度数的矩阵。 - 返回度数的pseudo-Vandermonde 矩阵度和采样点x. pseudo-Vandermonde 矩阵定义为 - 其中 0 <= i <= 度。 V 的前导索引索引 x 的元素,最后一个索引是 HermiteE 多项式的次数。 - 如果c是长度系数的一维数组n + 1和V是数组 - V = hermevander(x, n), 然后- np.dot(V, c)和- hermeval(x, c)在四舍五入之前是相同的。这种等价性对于最小二乘拟合和大量相同度数和样本点的HermiteE 系列的评估都很有用。- x: array_like
- 点数组。 dtype 转换为 float64 或 complex128,具体取决于是否有任何元素是复杂的。如果 x 是标量,则将其转换为一维数组。 
- deg: int
- 结果矩阵的度数。 
 
- vander: ndarray
- pseudo-Vandermonde 矩阵。返回矩阵的形状为 - x.shape + (deg + 1,),其中最后一个索引是对应的HermiteE多项式的次数。 dtype 将与转换后的相同x.
 
 - 参数:- 返回:- 例子:- >>> from numpy.polynomial.hermite_e import hermevander >>> x = np.array([-1, 0, 1]) >>> hermevander(x, 3) array([[ 1., -1., 0., 2.], [ 1., 0., -1., -0.], [ 1., 1., 0., -2.]])
相关用法
- Python numpy hermite_e.hermeval用法及代码示例
- Python numpy hermite_e.hermediv用法及代码示例
- Python numpy hermite_e.hermefromroots用法及代码示例
- Python numpy hermite_e.hermeline用法及代码示例
- Python numpy hermite_e.hermeint用法及代码示例
- Python numpy hermite_e.hermeadd用法及代码示例
- Python numpy hermite_e.hermepow用法及代码示例
- Python numpy hermite_e.hermetrim用法及代码示例
- Python numpy hermite_e.hermezero用法及代码示例
- Python numpy hermite_e.hermex用法及代码示例
- Python numpy hermite_e.hermemulx用法及代码示例
- Python numpy hermite_e.hermeone用法及代码示例
- Python numpy hermite_e.hermesub用法及代码示例
- Python numpy hermite_e.hermefit用法及代码示例
- Python numpy hermite_e.hermedomain用法及代码示例
- Python numpy hermite_e.herme2poly用法及代码示例
- Python numpy hermite_e.hermeder用法及代码示例
- Python numpy hermite_e.hermemul用法及代码示例
- Python numpy hermite_e.hermeroots用法及代码示例
- Python numpy hermite_e.poly2herme用法及代码示例
- Python numpy hermite.hermfromroots用法及代码示例
- Python numpy hermite.hermline用法及代码示例
- Python numpy hermite.hermpow用法及代码示例
- Python numpy hermite.hermx用法及代码示例
- Python numpy hermite.hermmul用法及代码示例
注:本文由纯净天空筛选整理自numpy.org大神的英文原创作品 numpy.polynomial.hermite_e.hermevander。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。
