basic API
basic パッケージは、他のパッケージが共有する関数型と数学定数を定義します。
タイプエイリアス
Func_Math : (Double) -> Double
単変数の数学関数を表現します。
Quad_GK : (Func_Math, Double, Double) -> (Double, Double, Double, Double,)
@integration.kronrod_r15()のようなガウス・クロンロッド型数値積分関数を表現します。
定数
定数はいずれも完全な倍精度を持つ Double 値です。
| 定数 | 値 |
|---|---|
math_e | |
math_log_2_e | |
math_log_10_e | |
math_sqrt_2 | |
math_sqrt_1_2 | |
math_sqrt_3 | |
math_pi | |
math_pi_2 | |
math_pi_4 | |
math_sqrt_pi | |
math_2_sqrt_pi | |
math_1_pi | |
math_2_pi | |
math_ln_10 | |
math_ln_2 | |
math_ln_pi | |
math_euler | オイラー定数 |