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 doubleprivate booleanprivate Apfloatprivate longprivate Apintprivate Apfloatprivate Apintprivate Apcomplexprivate longprivate intprivate longprivate Apintprivate Apintprivate Apfloatprivate Apfloatprivate Apfloatprivate Apcomplex -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomplex()private Apcomplexprivate ApfloatdoReal()private Apfloate(long precision) private ApcomplexfixLogBranch(Apcomplex next, Apcomplex previous) private Apcomplexprivate Apcomplexprivate Apcomplexprivate Apfloatprivate Apcomplexp()private Apcomplexprivate Apfloatreal()private Apfloatprivate longshiftLeftPrecision(long precision, int i) private longshiftLeftPrecision(long precision, int i, long add) private ApfloattwoPi()private ApfloattwoPiK()static Apcomplexstatic Apcomplexstatic 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
-