問題タブ [hyperbolic-function]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
36 問題
0
投票する
1
に答える
192
参照
python - RuntimeWarning: cosh -- Python でオーバーフローが発生しました。これは何を意味するのでしょうか?
次の計算を実行しています。
基本的に、x0< L - デルタの間、このループは 2^15 ポイント実行されます。
これは MATLAB に変換されても問題なく動作しますが、python では次のエラーが表示されます。
RuntimeWarning: cosh
r = 1/(l1*np.cosh(x)**2)でオーバーフローが発生しました