1

scipy.specialPython で bigfloat 型の変数の三角関数とディガンマ関数を計算する必要がありますが、次のエラー メッセージが表示されます

TypeError: ufunc 'psi' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule 'safe'

精度を上げるために、変数を bigfloat として保持する必要があります。そのような変数のディガンマ関数とトリガンマ関数を計算する方法を知っている人はいますか? ありがとう。

4

1 に答える 1