Package org.apfloat
Class LambertWHelper
java.lang.Object
org.apfloat.LambertWHelper
Helper class for Lambert W function.
- Since:
- 1.8.0
- Version:
- 1.10.0
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final double
private boolean
private Apfloat
private long
private Apint
private Apfloat
private Apint
private Apcomplex
private long
private int
private long
private Apint
private Apint
private Apfloat
private Apfloat
private Apfloat
private Apcomplex
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomplex()
private Apcomplex
private Apfloat
doReal()
private Apfloat
e
(long precision) private Apcomplex
fixLogBranch
(Apcomplex next, Apcomplex previous) private Apcomplex
private Apcomplex
private Apcomplex
private Apfloat
private Apcomplex
p()
private Apcomplex
private Apfloat
real()
private Apfloat
private long
shiftLeftPrecision
(long precision, int i) private long
shiftLeftPrecision
(long precision, int i, long add) private Apfloat
twoPi()
private Apfloat
twoPiK()
static Apcomplex
static Apcomplex
static Apfloat
-
Field Details
-
BRANCH_POINT_BEYOND
private static final double BRANCH_POINT_BEYOND- See Also:
-
x
-
z
-
radix
private int radix -
precision
private long precision -
targetPrecision
private long targetPrecision -
k
private long k -
close
private boolean close -
minusOne
-
one
-
two
-
three
-
twoPi
-
twoPiK
-
e
-
minusOnePerE
-
p
-
-
Constructor Details
-
LambertWHelper
-
-
Method Details
-
w
-
w
-
w
-
real
-
doReal
-
complex
-
log
-
logApprox
-
p
- Throws:
ApfloatRuntimeException
-
positiveRealSeries
private Apfloat positiveRealSeries() throws LambertWHelper.ComplexException, ApfloatRuntimeException -
negativeRealSeries
private Apfloat negativeRealSeries() throws LambertWHelper.ComplexException, ApfloatRuntimeException -
positiveComplexSeries
- Throws:
ApfloatRuntimeException
-
negativeComplexSeries
- Throws:
ApfloatRuntimeException
-
realSeries
private Apfloat realSeries(Apcomplex p) throws LambertWHelper.ComplexException, ApfloatRuntimeException -
complexSeries
- Throws:
ApfloatRuntimeException
-
shiftLeftPrecision
private long shiftLeftPrecision(long precision, int i) -
shiftLeftPrecision
private long shiftLeftPrecision(long precision, int i, long add) -
fixLogBranch
- Throws:
ApfloatRuntimeException
-
twoPi
- Throws:
ApfloatRuntimeException
-
twoPiK
- Throws:
ApfloatRuntimeException
-
e
- Throws:
ApfloatRuntimeException
-