numpy.polynomial.legendre.legweight# polynomial.legendre.legweight(x)[源代码]# Legendre 多项式的权重函数。 权重函数为 \(1\),积分区间为 \([-1, 1]\)。Legendre 多项式对于此权重函数是正交的,但未归一化。 参数: xarray_like将计算权重函数的点。 返回: wndarray权重函数在 x 处的值。