module Pyrite::Math
Defined in:
math.crConstant Summary
-
A =
[0.0, -3.969683028665376e+01, 2.209460984245205e+02, -2.759285104469687e+02, 1.383577518672690e+02, -3.066479806614716e+01, 2.506628277459239e+00]
-
Coefficients for the rational approximations
-
B =
[0.0, -5.447609879822406e+01, 1.615858368580409e+02, -1.556989798598866e+02, 6.680131188771972e+01, -1.328068155288572e+01]
-
C =
[0.0, -7.784894002430293e-03, -3.223964580411365e-01, -2.400758277161838e+00, -2.549732539343734e+00, 4.374664141464968e+00, 2.938163982698783e+00]
-
D =
[0.0, 7.784695709041462e-03, 3.224671290700398e-01, 2.445134137142996e+00, 3.754408661907416e+00]
-
GAMMA_C =
2 * (::Math.sqrt((::Math.exp(1)) / PI))
-
GAMMA_DK =
[2.48574089138753565546e-5, 1.05142378581721974210, -3.45687097222016235469, 4.51227709466894823700, -2.98285225323576655721, 1.05639711577126713077, -1.95428773191645869583e-1, 1.70970543404441224307e-2, -5.71926117404305781283e-4, 4.63399473359905636708e-6, -2.71994908488607703910e-9]
-
GAMMA_R10 =
10.900511
-
HUGE =
Float64::MAX
-
PI =
::Math::PI
-
Constants
Class Method Summary
-
.abs(x : Float64) : Float64
Math functions and special functions
- .beta(a : Float64, b : Float64) : Float64
- .gamma(z : Float64) : Float64
- .iphi(p : Float64) : Float64
- .iphifast(p : Float64) : Float64
- .logbeta(a : Float64, b : Float64) : Float64
- .loggamma(z : Float64) : Float64
- .phi(x : Float64) : Float64
- .round(x : Float64) : Float64
- .sign(x : Float64) : Int32
- .step(x : Float64) : Int32