简体   繁体   English

Python和相关的Legendre多项式

[英]Python and associated Legendre polynomials

I have been searching for a python implementation of the associated Legendre polynomials quite a long time and have found nothing satisfying me. 很长时间以来,我一直在寻找相关的Legendre多项式的python实现,但没有找到令我满意的东西。 There is an implementation in scipy.special , but it is not vectorized. scipy.special有一个实现,但未向量化。 I have found a solution to use pygsl interface with gsl library, but I had a hard time to get everything compiled. 我找到了在gsl库中使用pygsl接口的解决方案,但我很难将所有内容编译。

Does anyone know better solution to get access to associated Legendre polynomials in efficiently vectorized way, ie Legendre functions has to be applied for multidimensional matrices? 有谁知道更好的解决方案来以有效的矢量化方式访问关联的Legendre多项式,即Legendre函数必须用于多维矩阵?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM