basic API
The basic package defines the function types shared by the other packages and a set of mathematical constants.
Type aliases
Func_Math : (Double) -> Double
Represents a single-variable mathematical function.
Quad_GK : (Func_Math, Double, Double) -> (Double, Double, Double, Double,)
Represents a Gauss-Kronrod numerical integration function, such as @integration.kronrod_r15()
Constants
The constants are Double values with full double precision.
| Constant | Value |
|---|---|
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 | Euler’s constant |