Package org.apache.commons.numbers.gamma
Class InvGamma1pm1
- java.lang.Object
-
- org.apache.commons.numbers.gamma.InvGamma1pm1
-
final class InvGamma1pm1 extends java.lang.ObjectFunction \( \frac{1}{\Gamma(1 + x)} - 1 \). Class is immutable.
-
-
Field Summary
Fields Modifier and Type Field Description private static doubleINV_GAMMA1P_M1_A0The constantA0defined inDGAM1.private static doubleINV_GAMMA1P_M1_A1The constantA1defined inDGAM1.private static doubleINV_GAMMA1P_M1_B1The constantB1defined inDGAM1.private static doubleINV_GAMMA1P_M1_B2The constantB2defined inDGAM1.private static doubleINV_GAMMA1P_M1_B3The constantB3defined inDGAM1.private static doubleINV_GAMMA1P_M1_B4The constantB4defined inDGAM1.private static doubleINV_GAMMA1P_M1_B5The constantB5defined inDGAM1.private static doubleINV_GAMMA1P_M1_B6The constantB6defined inDGAM1.private static doubleINV_GAMMA1P_M1_B7The constantB7defined inDGAM1.private static doubleINV_GAMMA1P_M1_B8The constantB8defined inDGAM1.private static doubleINV_GAMMA1P_M1_CThe constantCdefined inDGAM1.private static doubleINV_GAMMA1P_M1_C0The constantC0defined inDGAM1.private static doubleINV_GAMMA1P_M1_C1The constantC1defined inDGAM1.private static doubleINV_GAMMA1P_M1_C10The constantC10defined inDGAM1.private static doubleINV_GAMMA1P_M1_C11The constantC11defined inDGAM1.private static doubleINV_GAMMA1P_M1_C12The constantC12defined inDGAM1.private static doubleINV_GAMMA1P_M1_C13The constantC13defined inDGAM1.private static doubleINV_GAMMA1P_M1_C2The constantC2defined inDGAM1.private static doubleINV_GAMMA1P_M1_C3The constantC3defined inDGAM1.private static doubleINV_GAMMA1P_M1_C4The constantC4defined inDGAM1.private static doubleINV_GAMMA1P_M1_C5The constantC5defined inDGAM1.private static doubleINV_GAMMA1P_M1_C6The constantC6defined inDGAM1.private static doubleINV_GAMMA1P_M1_C7The constantC7defined inDGAM1.private static doubleINV_GAMMA1P_M1_C8The constantC8defined inDGAM1.private static doubleINV_GAMMA1P_M1_C9The constantC9defined inDGAM1.private static doubleINV_GAMMA1P_M1_P0The constantP0defined inDGAM1.private static doubleINV_GAMMA1P_M1_P1The constantP1defined inDGAM1.private static doubleINV_GAMMA1P_M1_P2The constantP2defined inDGAM1.private static doubleINV_GAMMA1P_M1_P3The constantP3defined inDGAM1.private static doubleINV_GAMMA1P_M1_P4The constantP4defined inDGAM1.private static doubleINV_GAMMA1P_M1_P5The constantP5defined inDGAM1.private static doubleINV_GAMMA1P_M1_P6The constantP6defined inDGAM1.private static doubleINV_GAMMA1P_M1_Q1The constantQ1defined inDGAM1.private static doubleINV_GAMMA1P_M1_Q2The constantQ2defined inDGAM1.private static doubleINV_GAMMA1P_M1_Q3The constantQ3defined inDGAM1.private static doubleINV_GAMMA1P_M1_Q4The constantQ4defined inDGAM1.
-
Constructor Summary
Constructors Modifier Constructor Description privateInvGamma1pm1()Private constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static doublevalue(double x)Computes the function \( \frac{1}{\Gamma(1 + x)} - 1 \) for-0.5 <= x <= 1.5.
-
-
-
Field Detail
-
INV_GAMMA1P_M1_A0
private static final double INV_GAMMA1P_M1_A0
The constantA0defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_A1
private static final double INV_GAMMA1P_M1_A1
The constantA1defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_B1
private static final double INV_GAMMA1P_M1_B1
The constantB1defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_B2
private static final double INV_GAMMA1P_M1_B2
The constantB2defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_B3
private static final double INV_GAMMA1P_M1_B3
The constantB3defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_B4
private static final double INV_GAMMA1P_M1_B4
The constantB4defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_B5
private static final double INV_GAMMA1P_M1_B5
The constantB5defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_B6
private static final double INV_GAMMA1P_M1_B6
The constantB6defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_B7
private static final double INV_GAMMA1P_M1_B7
The constantB7defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_B8
private static final double INV_GAMMA1P_M1_B8
The constantB8defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_P0
private static final double INV_GAMMA1P_M1_P0
The constantP0defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_P1
private static final double INV_GAMMA1P_M1_P1
The constantP1defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_P2
private static final double INV_GAMMA1P_M1_P2
The constantP2defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_P3
private static final double INV_GAMMA1P_M1_P3
The constantP3defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_P4
private static final double INV_GAMMA1P_M1_P4
The constantP4defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_P5
private static final double INV_GAMMA1P_M1_P5
The constantP5defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_P6
private static final double INV_GAMMA1P_M1_P6
The constantP6defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_Q1
private static final double INV_GAMMA1P_M1_Q1
The constantQ1defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_Q2
private static final double INV_GAMMA1P_M1_Q2
The constantQ2defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_Q3
private static final double INV_GAMMA1P_M1_Q3
The constantQ3defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_Q4
private static final double INV_GAMMA1P_M1_Q4
The constantQ4defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_C
private static final double INV_GAMMA1P_M1_C
The constantCdefined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_C0
private static final double INV_GAMMA1P_M1_C0
The constantC0defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_C1
private static final double INV_GAMMA1P_M1_C1
The constantC1defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_C2
private static final double INV_GAMMA1P_M1_C2
The constantC2defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_C3
private static final double INV_GAMMA1P_M1_C3
The constantC3defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_C4
private static final double INV_GAMMA1P_M1_C4
The constantC4defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_C5
private static final double INV_GAMMA1P_M1_C5
The constantC5defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_C6
private static final double INV_GAMMA1P_M1_C6
The constantC6defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_C7
private static final double INV_GAMMA1P_M1_C7
The constantC7defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_C8
private static final double INV_GAMMA1P_M1_C8
The constantC8defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_C9
private static final double INV_GAMMA1P_M1_C9
The constantC9defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_C10
private static final double INV_GAMMA1P_M1_C10
The constantC10defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_C11
private static final double INV_GAMMA1P_M1_C11
The constantC11defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_C12
private static final double INV_GAMMA1P_M1_C12
The constantC12defined inDGAM1.- See Also:
- Constant Field Values
-
INV_GAMMA1P_M1_C13
private static final double INV_GAMMA1P_M1_C13
The constantC13defined inDGAM1.- See Also:
- Constant Field Values
-
-
Method Detail
-
value
public static double value(double x)
Computes the function \( \frac{1}{\Gamma(1 + x)} - 1 \) for-0.5 <= x <= 1.5. This implementation is based on the double precision implementation in the NSWC Library of Mathematics Subroutines,DGAM1.- Parameters:
x- Argument.- Returns:
- \( \frac{1}{\Gamma(1 + x)} - 1 \)
- Throws:
java.lang.IllegalArgumentException- ifx < -0.5orx > 1.5
-
-