Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Tricomi 合流超幾何関数の計算は、2 つの 1F1 関数の和を使用する場合、サイズがほぼ同じでも符号が反対になる可能性があるため、悪条件になる可能性があります。mpmath 関数「hyperu」は、内部で任意精度を使用し、デフォルト モードで有効数字 35 桁の結果を生成します。これらの数字のうち、信頼できる数字はいくつですか? 渡されたパラメータに依存しますか?
import mpmath x = mpmath.hyperu(a, b + 1, u)
mpmath の主な作成者である Fredrik Johansson から、35 桁すべてが使用可能であることを確認する電子メールを受け取りました。彼は次のように書いています。