Uses of Class
org.apfloat.Apfloat
Packages that use Apfloat
Package
Description
The apfloat Application Programming Interface (API).
Sample applications demonstrating apfloat use.
-
Uses of Apfloat in org.apfloat
Classes in org.apfloat with type parameters of type ApfloatModifier and TypeClassDescriptionprivate static class
Subclasses of Apfloat in org.apfloatModifier and TypeClassDescriptionclass
Arbitrary precision integer class.class
Arbitrary precision rational number class.Fields in org.apfloat declared as ApfloatModifier and TypeFieldDescriptionprivate final Apfloat
ApfloatMath.PiCalculator.A
private Apfloat
ApfloatMath.ApfloatHolder.apfloat
private final Apfloat
ApfloatMath.PiCalculator.B
private Apfloat
LambertWHelper.e
private T
ContinuedFractionHelper.ContinuedFractionIterator.f
private final Apfloat
ApfloatMath.PiCalculator.FIVE
private Apfloat
Apcomplex.imag
private final Apfloat
ApfloatMath.PiCalculator.J
private Apfloat
LambertWHelper.minusOnePerE
private final Apfloat
EulerHelper.n2
private Apfloat
ZetaHelper.NN
private final Apfloat
ApfloatMath.PiCalculator.ONE
private Apfloat
ZetaHelper.pi
private Apfloat
Apcomplex.real
private final Apfloat
ApfloatMath.PiCalculator.SIX
private final Apfloat
ApfloatMath.PiCalculator.TWO
private Apfloat
LambertWHelper.twoPi
private Apfloat
LambertWHelper.twoPiK
private Apfloat
Apint.value
private Apfloat
LambertWHelper.x
Fields in org.apfloat with type parameters of type ApfloatModifier and TypeFieldDescriptionprivate SoftReference
<Apfloat> Aprational.approx
private SoftReference
<Apfloat> Aprational.inverseDen
RadixConversionHelper.RadixPowerList.list
ApfloatMath.nextGaussian
ApfloatMath.radixLog
ApfloatMath.radixLogPi
ApfloatMath.radixPi
ApfloatMath.radixPiInverseRoot
ApfloatMath.radixPiP
ApfloatMath.radixPiQ
ApfloatMath.radixPiT
ApfloatMath.SHUTDOWN_MAP
Methods in org.apfloat that return ApfloatModifier and TypeMethodDescriptionprivate Apfloat
ApfloatMath.PiCalculator.a
(long n) static Apfloat
Absolute value.(package private) Apfloat
Apfloat.abs()
static Apfloat
Absolute value.Absolute value.Absolute value.private static Apfloat
static Apfloat
Inverse cosine.(package private) static Apfloat
Arc cosine.static Apfloat
Inverse hyperbolic cosine.Hyperbolic arc cosine.Adds two apfloats.Addition.private Apfloat
Apfloat.addOrSubtract
(Apfloat x, boolean subtract) private Apfloat
HypergeometricHelper.adjustOffset
(Apfloat x, Apfloat offset) static Apfloat
Arithmetic-geometric mean.(package private) static Apfloat
Arithmetic-geometric mean.private static Apfloat
ApfloatMath.agmConsume
(Consumer<Apfloat> consumer, Apfloat a, Apfloat c2, long workingPrecision) static Apfloat
Airy function Ai.(package private) static Apfloat
Airy function Ai.static Apfloat
ApfloatMath.airyAiPrime
(Apfloat x) Derivative of the Airy function Ai.(package private) static Apfloat
ApfloatMath.airyAiPrime
(Apfloat x, long precision) FixedPrecisionApfloatHelper.airyAiPrime
(Apfloat x) Derivative of the Airy function Ai.static Apfloat
Airy function Bi.(package private) static Apfloat
Airy function Bi.static Apfloat
ApfloatMath.airyBiPrime
(Apfloat x) Derivative of the Airy function Bi.(package private) static Apfloat
ApfloatMath.airyBiPrime
(Apfloat x, long precision) FixedPrecisionApfloatHelper.airyBiPrime
(Apfloat x) Derivative of the Airy function Bi.static Apfloat
Angle of the complex vector in the complex plane.Complex angle.static Apfloat
Inverse sine.Arc sine.static Apfloat
Inverse hyperbolic sine.Hyperbolic arc sine.static Apfloat
Inverse tangent.Arc tangent.static Apfloat
Converts cartesian coordinates to polar coordinates.Angle of point.static Apfloat
Inverse hyperbolic tangent.Hyperbolic arc tangent.FixedPrecisionApcomplexHelper.bernoulli
(long n) Bernoulli number.FixedPrecisionApcomplexHelper.bernoulli
(long n, int radix) Bernoulli number.static Apfloat
ApfloatMath.bernoulliB
(long n, Apfloat x) Bernoulli polynomial.(package private) static Apfloat
ApfloatMath.bernoulliB
(long n, Apfloat x, long precision) FixedPrecisionApfloatHelper.bernoulliB
(long n, Apfloat x) Bernoulli polynomial.static Apfloat
Modified Bessel function of the first kind.Modified Bessel function of the first kind.static Apfloat
Bessel function of the first kind.Bessel function of the first kind.static Apfloat
Modified Bessel function of the second kind.Modified Bessel function of the second kind.static Apfloat
Bessel function of the second kind.Bessel function of the second kind.static Apfloat
Beta function.static Apfloat
Incomplete beta function.static Apfloat
Generalized incomplete beta function.Beta function.Incomplete beta function.Generalized incomplete beta function.static Apfloat
Binomial coefficient.FixedPrecisionApcomplexHelper.binomial
(long n, long k) Binomial coefficient.FixedPrecisionApcomplexHelper.binomial
(long n, long k, int radix) Binomial coefficient.Binomial coefficient.private static Apfloat
ApfloatMath.calculatePi
(long precision, int radix) static Apfloat
ApfloatMath.catalan
(long precision) Calculates Catalan's constant, G.static Apfloat
ApfloatMath.catalan
(long precision, int radix) Calculates Catalan's constant, G.FixedPrecisionApcomplexHelper.catalan()
Catalan's constant G.FixedPrecisionApcomplexHelper.catalan
(int radix) Catalan's constant G.static Apfloat
Cube root.Cube root.Ceiling function.static Apfloat
ApfloatMath.chebyshevT
(Apfloat ν, Apfloat x) Chebyshev function of the first kind.FixedPrecisionApfloatHelper.chebyshevT
(Apfloat ν, Apfloat x) Chebyshev function of the first kind.static Apfloat
ApfloatMath.chebyshevU
(Apfloat ν, Apfloat x) Chebyshev function of the second kind.FixedPrecisionApfloatHelper.chebyshevU
(Apfloat ν, Apfloat x) Chebyshev function of the second kind.static Apfloat
private Apfloat
FixedPrecisionApfloatHelper.checkSmallLinear
(Apfloat x) Apfloat[]
FixedPrecisionApfloatHelper.continuedFraction
(Apfloat x, int n) Continued fraction.Apfloat[]
FixedPrecisionApfloatHelper.convergents
(Apfloat x, int n) Convergents.static Apfloat
Copy sign from one argument to another.Copies the sign from one number to another.static Apfloat
Cosine.Cosine.static Apfloat
Hyperbolic cosine.Hyperbolic cosine.static Apfloat
ApfloatMath.coshIntegral
(Apfloat x) Hyperbolic cosine integral.FixedPrecisionApfloatHelper.coshIntegral
(Apfloat x) Hyperbolic cosine integral.static Apfloat
ApfloatMath.cosIntegral
(Apfloat x) Cosine integral.FixedPrecisionApfloatHelper.cosIntegral
(Apfloat x) Cosine integral.static Apfloat
Digamma function.Digamma function.Divides two apfloats.Division.private Apfloat
LambertWHelper.doReal()
(package private) static Apfloat
ApfloatMath.doubleFactorial
(long n, long precision) (package private) static Apfloat
ApfloatMath.doubleFactorial
(long n, long precision, int radix) FixedPrecisionApfloatHelper.doubleFactorial
(long n) Double factorial.FixedPrecisionApfloatHelper.doubleFactorial
(long n, int radix) Double factorial.static Apfloat
ApfloatMath.e
(long precision) Calculates e.static Apfloat
ApfloatMath.e
(long precision, int radix) Calculates e.private static Apfloat[]
ApfloatMath.e
(long start, long end, long precision, int radix) FixedPrecisionApcomplexHelper.e()
e.FixedPrecisionApcomplexHelper.e
(int radix) e.private Apfloat
LambertWHelper.e
(long precision) static Apfloat
Complete elliptic integral of the second kind.(package private) static Apfloat
Complete elliptic integral of the second kind.static Apfloat
Complete elliptic integral of the first kind.(package private) static Apfloat
Complete elliptic integral of the first kind.private Apfloat
Aprational.ensureApprox
(long precision) static Apfloat
ApfloatHelper.ensurePrecision
(Apfloat x, long precision) static Apfloat
Error function.Error function.static Apfloat
Complementary error function.Complementary error function.(package private) static Apfloat
ApfloatMath.erfcFixedPrecision
(Apfloat x) (package private) static Apfloat
ApfloatMath.erfFixedPrecision
(Apfloat x) static Apfloat
Imaginary error function.Imaginary error function.(package private) static Apfloat
ApfloatMath.erfiFixedPrecision
(Apfloat x) static Apfloat
ApfloatMath.euler
(long precision) Calculates γ, the Euler-Mascheroni constant.static Apfloat
ApfloatMath.euler
(long precision, int radix) Calculates γ, the Euler-Mascheroni constant.static Apfloat
EulerHelper.euler
(long precision, int radix) FixedPrecisionApcomplexHelper.euler()
γ, the Euler-Mascheroni constant.FixedPrecisionApcomplexHelper.euler
(int radix) γ, the Euler-Mascheroni constant.static Apfloat
Euler polynomial.(package private) static Apfloat
Euler polynomial.(package private) static Apfloat
ApfloatMath.eulerSmall
(long precision, int radix) static Apfloat
Exponent function.Exponential function.static Apfloat
ApfloatMath.expIntegralE
(Apfloat ν, Apfloat x) Exponential integral E.FixedPrecisionApfloatHelper.expIntegralE
(Apfloat ν, Apfloat x) Exponential integral E.static Apfloat
ApfloatMath.expIntegralEi
(Apfloat x) Exponential integral Ei.FixedPrecisionApfloatHelper.expIntegralEi
(Apfloat x) Exponential integral Ei.private static Apfloat
HurwitzZetaHelper.expPrecision
(Apfloat x) static Apfloat
ApfloatHelper.extendPrecision
(Apfloat x) static Apfloat
ApfloatHelper.extendPrecision
(Apfloat x, long extraPrecision) (package private) static Apfloat
ApfloatMath.factorial
(long n, long precision) (package private) static Apfloat
ApfloatMath.factorial
(long n, long precision, int radix) FixedPrecisionApfloatHelper.factorial
(long n) Factorial.FixedPrecisionApfloatHelper.factorial
(long n, int radix) Factorial.static Apfloat
Fibonacci function.Fibonacci function.static Apfloat
RootFinder.findRoot
(Function<Apfloat, Apfloat> f, BiFunction<Apfloat, Apfloat, Apfloat> fp, Apfloat y, Apfloat initialGuess, long targetPrecision) Find the root of the given function with Newton's method, starting from the given initial guess.Floor function.static Apfloat
Returns x modulo y.Modulus.Apfloat.frac()
Returns the fractional part.static Apfloat
Extracts fractional part.Extract fractional part.static Apfloat
Fresnel integral C.Fresnel integral C.static Apfloat
Fresnel integral S.Fresnel integral S.static Apfloat
Gamma function.static Apfloat
Incomplete gamma function.static Apfloat
Generalized incomplete gamma function.Gamma function.Incomplete gamma function.Generalized incomplete gamma function.static Apfloat
ApfloatMath.gegenbauerC
(Apfloat ν, Apfloat x) Renormalized Gegenbauer function.static Apfloat
ApfloatMath.gegenbauerC
(Apfloat ν, Apfloat λ, Apfloat x) Gegenbauer function.FixedPrecisionApfloatHelper.gegenbauerC
(Apfloat ν, Apfloat x) Renormalized Gegenbauer function.FixedPrecisionApfloatHelper.gegenbauerC
(Apfloat ν, Apfloat λ, Apfloat x) Gegenbauer function.private Apfloat
RadixConversionHelper.RadixPowerList.get
(int index) ApfloatMath.ApfloatHolder.getApfloat()
private Apfloat
Aprational.getApprox
(long precision) private Apfloat
Aprational.getInverseDen()
static Apfloat
ApfloatMath.glaisher
(long precision) Calculates the Glaisher‐Kinkelin constant, A.static Apfloat
ApfloatMath.glaisher
(long precision, int radix) Calculates the Glaisher‐Kinkelin constant, A.FixedPrecisionApcomplexHelper.glaisher()
The Glaisher-Kinkelin constant A.FixedPrecisionApcomplexHelper.glaisher
(int radix) The Glaisher-Kinkelin constant A.(package private) static Apfloat
ApfloatMath.halfPi
(int radix, long precision) static Apfloat
ApfloatMath.harmonicNumber
(Apfloat x) Harmonic number.static Apfloat
ApfloatMath.harmonicNumber
(Apfloat x, Apfloat r) Generalized harmonic number.FixedPrecisionApfloatHelper.harmonicNumber
(Apfloat x) Harmonic number.FixedPrecisionApfloatHelper.harmonicNumber
(Apfloat x, Apfloat r) Generalized harmonic number.static Apfloat
Hermite function.Hermite function.static Apfloat
ApfloatMath.hypergeometric0F1
(Apfloat a, Apfloat x) Confluent hypergeometric function 0F1.FixedPrecisionApfloatHelper.hypergeometric0F1
(Apfloat a, Apfloat x) Confluent hypergeometric function 0F1.static Apfloat
ApfloatMath.hypergeometric0F1Regularized
(Apfloat a, Apfloat x) Regularized confluent hypergeometric function 0F̃1.FixedPrecisionApfloatHelper.hypergeometric0F1Regularized
(Apfloat a, Apfloat x) Regularized confluent hypergeometric function 0F̃1.static Apfloat
ApfloatMath.hypergeometric1F1
(Apfloat a, Apfloat b, Apfloat x) Kummer confluent hypergeometric function 1F1.FixedPrecisionApfloatHelper.hypergeometric1F1
(Apfloat a, Apfloat b, Apfloat x) Kummer confluent hypergeometric function 1F1.static Apfloat
ApfloatMath.hypergeometric1F1Regularized
(Apfloat a, Apfloat b, Apfloat x) Regularized Kummer confluent hypergeometric function 1F̃1.FixedPrecisionApfloatHelper.hypergeometric1F1Regularized
(Apfloat a, Apfloat b, Apfloat x) Regularized Kummer confluent hypergeometric function 1F̃1.static Apfloat
ApfloatMath.hypergeometric2F1
(Apfloat a, Apfloat b, Apfloat c, Apfloat x) Hypergeometric function 2F1.FixedPrecisionApfloatHelper.hypergeometric2F1
(Apfloat a, Apfloat b, Apfloat c, Apfloat x) Hypergeometric function 2F1.static Apfloat
ApfloatMath.hypergeometric2F1Regularized
(Apfloat a, Apfloat b, Apfloat c, Apfloat x) Regularized hypergeometric function 2F̃1.FixedPrecisionApfloatHelper.hypergeometric2F1Regularized
(Apfloat a, Apfloat b, Apfloat c, Apfloat x) Regularized hypergeometric function 2F̃1.static Apfloat
ApfloatMath.hypergeometricU
(Apfloat a, Apfloat b, Apfloat x) Tricomi's confluent hypergeometric function U.FixedPrecisionApfloatHelper.hypergeometricU
(Apfloat a, Apfloat b, Apfloat x) Tricomi's confluent hypergeometric function U.Apcomplex.imag()
Returns the imaginary part of this apcomplex.Apfloat.imag()
Imaginary part of this apfloat.Imaginary part.static Apfloat
ApfloatMath.inverseErf
(Apfloat x) Inverse error function.FixedPrecisionApfloatHelper.inverseErf
(Apfloat x) Inverse error function.static Apfloat
ApfloatMath.inverseErfc
(Apfloat x) Inverse complementary error function.FixedPrecisionApfloatHelper.inverseErfc
(Apfloat x) Inverse complementary error function.static Apfloat
ApfloatMath.inverseRoot
(Apfloat x, long n) Inverse positive integer root.static Apfloat
ApfloatMath.inverseRoot
(Apfloat x, long n, long targetPrecision) Inverse positive integer root.static Apfloat
ApfloatMath.inverseRoot
(Apfloat x, long n, long targetPrecision, Apfloat initialGuess) Inverse positive integer root.static Apfloat
ApfloatMath.inverseRoot
(Apfloat x, long n, long targetPrecision, Apfloat initialGuess, long initialPrecision) Inverse positive integer root.FixedPrecisionApfloatHelper.inverseRoot
(Apfloat x, long n) Inverse root.private static Apfloat
static Apfloat
Jacobi function.Jacobi function.static Apfloat
ApfloatMath.khinchin
(long precision) Calculates Khinchin's constant, K.Uses the default radix.static Apfloat
ApfloatMath.khinchin
(long precision, int radix) Calculates Khinchin's constant, K.FixedPrecisionApcomplexHelper.khinchin()
Khinchin's constant K.FixedPrecisionApcomplexHelper.khinchin
(int radix) Khinchin's constant K.static Apfloat
Laguerre function.static Apfloat
Generalized Laguerre function.Laguerre function.Generalized Laguerre function.private static Apfloat
ApfloatMath.lastIterationExtendPrecision
(int iterations, int precisingIteration, Apfloat x) static Apfloat
Legendre function.static Apfloat
Associated Legendre function of the first kind.Legendre function.Associated Legendre function of the first kind.static Apfloat
Legendre function of the second kind.static Apfloat
Associated Legendre function of the second kind.Legendre function of the second kind.Associated Legendre function of the second kind.static Apfloat
ApfloatHelper.limitPrecision
(Apfloat x, long precision) static Apfloat
Natural logarithm.private static Apfloat
static Apfloat
Logarithm in arbitrary base.Natural logarithm.Logarithm in specified base.static Apfloat
Logarithm of the gamma function.Logarithm of the gamma function.static Apfloat
ApfloatMath.logIntegral
(Apfloat x) Logarithmic integral.FixedPrecisionApfloatHelper.logIntegral
(Apfloat x) Logarithmic integral.static Apfloat
ApfloatMath.logisticSigmoid
(Apfloat x) Logistic sigmoid.FixedPrecisionApfloatHelper.logisticSigmoid
(Apfloat x) Logistic sigmoid.static Apfloat
ApfloatMath.logRadix
(long precision, int radix) Gets or calculates logarithm of a radix to required precision.private static Apfloat
ApfloatMath.logRadix
(long precision, int radix, boolean multiplyByPi) FixedPrecisionApfloatHelper.logRadix
(int radix) Logarithm.static Apfloat
Returns the greater of the two values.Maximum value.static Apfloat
HypergeometricHelper.maxNonPositiveInteger
(Apcomplex... a) static Apfloat
Returns the smaller of the two values.Minimum value.Calculates the remainder when divided by an apfloat.Modulus.static Apfloat[]
Split to integer and fractional parts.Apfloat[]
Split to integer and fractional parts.Multiplies two apfloats.Multiplication.static Apfloat
ApfloatMath.multiplyAdd
(Apfloat a, Apfloat b, Apfloat c, Apfloat d) Fused multiply-add.FixedPrecisionApfloatHelper.multiplyAdd
(Apfloat a, Apfloat b, Apfloat c, Apfloat d) Fused multiply-add.private static Apfloat
ApfloatMath.multiplyAddOrSubtract
(Apfloat a, Apfloat b, Apfloat c, Apfloat d, boolean subtract) static Apfloat
ApfloatMath.multiplySubtract
(Apfloat a, Apfloat b, Apfloat c, Apfloat d) Fused multiply-subtract.FixedPrecisionApfloatHelper.multiplySubtract
(Apfloat a, Apfloat b, Apfloat c, Apfloat d) Fused multiply-subtract.Apfloat.negate()
Negative value.static Apfloat
Deprecated.Negation.private Apfloat
LambertWHelper.negativeRealSeries()
static Apfloat
Returns the number adjacent to the first argument in the direction of the second argument, considering the scale and precision of the first argument.The number adjacent to the first argument in the direction of the second argument.static Apfloat
Returns the number adjacent to the argument in the direction of negative infinity, considering the scale and precision of the argument.The adjacent value closer to negative infinity.private static Apfloat
ApfloatMath.nextInDirection
(Apfloat x, int direction) static Apfloat
Returns the number adjacent to the argument in the direction of positive infinity, considering the scale and precision of the argument.The adjacent value closer to positive infinity.static Apfloat
Norm.Norm.private static Apfloat
ApfloatMath.oddProduct
(long n, long m, long precision, int radix) private Apfloat
BesselHelper.offset
(long scale) private Apfloat
HypergeometricHelper.offset
(long scale) private Apfloat
ApfloatMath.PiCalculator.p
(long n) static Apfloat
ApfloatMath.pi
(long precision) Calculates π.static Apfloat
ApfloatMath.pi
(long precision, int radix) Calculates π.(package private) Apfloat
FixedPrecisionApcomplexHelper.pi()
(package private) Apfloat
FixedPrecisionApcomplexHelper.pi
(int radix) FixedPrecisionApfloatHelper.pi()
π.FixedPrecisionApfloatHelper.pi
(int radix) π.static Apfloat
ApfloatMath.pochhammer
(Apfloat x, Apfloat n) Pochhammer symbol.FixedPrecisionApfloatHelper.pochhammer
(Apfloat x, Apfloat n) Pochhammer symbol.static Apfloat
Polygamma function.Polygamma function.static Apfloat
Polylogarithm.Polylogarithm.private Apfloat
LambertWHelper.positiveRealSeries()
static Apfloat
Integer power.static Apfloat
Arbitrary power.Integer power.Power.RadixConversionHelper.RadixPowerList.pow
(long n) Apfloat.precision
(long precision) Returns an apfloat with the same value as this apfloat accurate to the specified precision.static Apfloat
Product of numbers.Product.private Apfloat
ApfloatMath.PiCalculator.q
(long n) private static Apfloat
static Apfloat
ApfloatMath.random
(long digits) Generates a random number.static Apfloat
ApfloatMath.random
(long digits, int radix) Generates a random number.FixedPrecisionApfloatHelper.random()
Return a uniformly distributed random number0 ≤ x < 1
.FixedPrecisionApfloatHelper.random
(int radix) Return a uniformly distributed random number0 ≤ x < 1
.static Apfloat
ApfloatMath.randomGaussian
(long digits) Generates a random, Gaussian ("normally") distributed number value with mean 0 and standard deviation 1.static Apfloat
ApfloatMath.randomGaussian
(long digits, int radix) Generates a random, Gaussian ("normally") distributed number value with mean 0 and standard deviation 1.FixedPrecisionApfloatHelper.randomGaussian()
Return a normally distributed random number with mean 0 and standard deviation 1.FixedPrecisionApfloatHelper.randomGaussian
(int radix) Return a normally distributed random number with mean 0 and standard deviation 1.private static Apfloat
Apcomplex.real()
Returns the real part of this apcomplex.Apfloat.real()
Real part of this apfloat.Real part.LambertWHelper.real()
private Apfloat
LambertWHelper.realSeries
(Apcomplex p) static Apfloat
ApfloatHelper.reducePrecision
(Apfloat x) static Apfloat
ApfloatHelper.reducePrecision
(Apfloat x, long extraPrecision) static Apfloat
Positive integer root.Root.static Apfloat
ApfloatMath.round
(Apfloat x, long precision, RoundingMode roundingMode) Deprecated.static Apfloat
AprationalMath.round
(Aprational x, long precision, RoundingMode roundingMode) Deprecated.FixedPrecisionApfloatHelper.round
(Apfloat x, RoundingMode roundingMode) Deprecated.FixedPrecisionApfloatHelper.roundToInteger
(Apfloat x, RoundingMode roundingMode) Round to integer with specified rounding mode.static Apfloat
ApfloatMath.roundToMultiple
(Apfloat x, Apfloat y, RoundingMode roundingMode) Roundsx
to the nearest multiple ofy
using the specified rounding mode.FixedPrecisionApfloatHelper.roundToMultiple
(Apfloat x, Apfloat y, RoundingMode roundingMode) Round to multiple with specified rounding mode.static Apfloat
RoundingHelper.roundToMultiple
(Apfloat x, Apfloat y, RoundingMode roundingMode) static Apfloat
ApfloatMath.roundToPlaces
(Apfloat x, long places, RoundingMode roundingMode) Roundsx
to the specified number of places using the specified rounding mode.static Apfloat
AprationalMath.roundToPlaces
(Aprational x, long places, RoundingMode roundingMode) Roundsx
to the specified number of places using the specified rounding mode.FixedPrecisionApfloatHelper.roundToPlaces
(Apfloat x, long places, RoundingMode roundingMode) Round to specified number of places with specified rounding mode.static Apfloat
RoundingHelper.roundToPlaces
(Apfloat x, long places, RoundingMode roundingMode) static Apfloat
ApfloatMath.roundToPrecision
(Apfloat x, long precision, RoundingMode roundingMode) Rounds the given number to the specified precision with the specified rounding mode.static Apfloat
AprationalMath.roundToPrecision
(Aprational x, long precision, RoundingMode roundingMode) Rounds the given number to the specified precision with the specified rounding mode.FixedPrecisionApfloatHelper.roundToPrecision
(Apfloat x, RoundingMode roundingMode) Round to precision with specified rounding mode.static Apfloat
RoundingHelper.roundToPrecision
(Apfloat x, long precision, RoundingMode roundingMode) (package private) Apfloat
Apfloat.scale
(long scale) static Apfloat
Multiply by a power of the radix.Move the radix point.(package private) Apfloat
FixedPrecisionApcomplexHelper.setErfPrecision
(Apfloat x) (package private) Apfloat
FixedPrecisionApcomplexHelper.setExponentialPrecision
(Apfloat x) (package private) Apfloat
FixedPrecisionApcomplexHelper.setGammaPrecision
(Apfloat x) (package private) Apfloat
FixedPrecisionApcomplexHelper.setLogarithmicPrecision
(Apfloat x) private Apfloat
FixedPrecisionApfloatHelper.setPrecision
(Apfloat x) private Apfloat[]
FixedPrecisionApfloatHelper.setPrecision
(Apfloat[] x) (package private) Apfloat
FixedPrecisionApcomplexHelper.setTrigonometricPrecision
(Apfloat x) (package private) Apfloat
FixedPrecisionApcomplexHelper.setZetaPrecision
(Apfloat x) static Apfloat
Sine.Sine.static Apfloat
Sinc.Sinc.static Apfloat
Hyperbolic sine.Hyperbolic sine.static Apfloat
ApfloatMath.sinhIntegral
(Apfloat x) Hyperbolic sine integral.FixedPrecisionApfloatHelper.sinhIntegral
(Apfloat x) Hyperbolic sine integral.static Apfloat
ApfloatMath.sinIntegral
(Apfloat x) Sine integral.FixedPrecisionApfloatHelper.sinIntegral
(Apfloat x) Sine integral.private static Apfloat
RadixConversionHelper.split
(Apfloat x, int toRadix, long size, long split, RadixConversionHelper.RadixPowerList radixPowerList) static Apfloat
Square root.Square root.Subtracts two apfloats.Subtraction.static Apfloat
Sum of numbers.Sum.static Apfloat
Tangent.Tangent.static Apfloat
Hyperbolic tangent.private static Apfloat
Hyperbolic tangent.(package private) static Apfloat
ApfloatMath.tanhFixedPrecision
(Apfloat x) static Apfloat
Converts an angle measured in radians to degrees.Convert radians to degrees.static Apfloat
Converts an angle measured in degrees to radians.Convert degrees to radians.Apfloat.toRadix
(int radix) Convert this apfloat to the specified radix.static Apfloat
private static Apfloat
RadixConversionHelper.toRadixFractionalPart
(Apfloat x, int toRadix, long size, long scale, RadixConversionHelper.RadixPowerList radixPowerList) private static Apfloat
RadixConversionHelper.toRadixIntegerPart
(Apfloat x, int toRadix, long size, long scale, RadixConversionHelper.RadixPowerList radixPowerList) private static Apfloat
RadixConversionHelper.toRadixNormalizedPart
(Apfloat x, int toRadix, long size, RadixConversionHelper.RadixPowerList radixPowerList) Truncate fractional part.private Apfloat
LambertWHelper.twoPi()
private Apfloat
LambertWHelper.twoPiK()
static Apfloat
Returns the unit in the last place of the argument, considering the scale and precision.static Apfloat
Returns the unit in the last place of the argument, considering the scale and precision.private static Apfloat
Unit in the last place.Unit in the last place.(package private) Apfloat
Returns the value with the specified precision.static Apfloat
Lambert W function.Lambert W function.static Apfloat
static Apfloat
Riemann zeta function.static Apfloat
Hurwitz zeta function.Riemann zeta function.Hurwitz zeta function.Methods in org.apfloat with parameters of type ApfloatModifier and TypeMethodDescriptionstatic Apfloat
Absolute value.Absolute value.static Apfloat
Inverse cosine.(package private) static Apfloat
Arc cosine.static Apfloat
Inverse hyperbolic cosine.Hyperbolic arc cosine.Adds two apfloats.Addition.private Apfloat
Apfloat.addOrSubtract
(Apfloat x, boolean subtract) private Apfloat
HypergeometricHelper.adjustOffset
(Apfloat x, Apfloat offset) static Apfloat
Arithmetic-geometric mean.(package private) static Apfloat
Arithmetic-geometric mean.private static Apfloat
ApfloatMath.agmConsume
(Consumer<Apfloat> consumer, Apfloat a, Apfloat c2, long workingPrecision) static Apfloat
Airy function Ai.(package private) static Apfloat
Airy function Ai.static Apfloat
ApfloatMath.airyAiPrime
(Apfloat x) Derivative of the Airy function Ai.(package private) static Apfloat
ApfloatMath.airyAiPrime
(Apfloat x, long precision) FixedPrecisionApfloatHelper.airyAiPrime
(Apfloat x) Derivative of the Airy function Ai.static Apfloat
Airy function Bi.(package private) static Apfloat
Airy function Bi.static Apfloat
ApfloatMath.airyBiPrime
(Apfloat x) Derivative of the Airy function Bi.(package private) static Apfloat
ApfloatMath.airyBiPrime
(Apfloat x, long precision) FixedPrecisionApfloatHelper.airyBiPrime
(Apfloat x) Derivative of the Airy function Bi.static Apfloat
Inverse sine.Arc sine.static Apfloat
Inverse hyperbolic sine.Hyperbolic arc sine.static Apfloat
Inverse tangent.Arc tangent.static Apfloat
Converts cartesian coordinates to polar coordinates.Angle of point.static Apfloat
Inverse hyperbolic tangent.Hyperbolic arc tangent.static Apfloat
ApfloatMath.bernoulliB
(long n, Apfloat x) Bernoulli polynomial.(package private) static Apfloat
ApfloatMath.bernoulliB
(long n, Apfloat x, long precision) FixedPrecisionApfloatHelper.bernoulliB
(long n, Apfloat x) Bernoulli polynomial.static Apfloat
Modified Bessel function of the first kind.Modified Bessel function of the first kind.static Apfloat
Bessel function of the first kind.Bessel function of the first kind.static Apfloat
Modified Bessel function of the second kind.Modified Bessel function of the second kind.static Apfloat
Bessel function of the second kind.Bessel function of the second kind.static Apfloat
Beta function.static Apfloat
Incomplete beta function.static Apfloat
Generalized incomplete beta function.Beta function.Incomplete beta function.Generalized incomplete beta function.static Apfloat
Binomial coefficient.Binomial coefficient.static Apfloat
Cube root.Cube root.static Apint
Ceiling function.Ceiling function.static Apfloat
ApfloatMath.chebyshevT
(Apfloat ν, Apfloat x) Chebyshev function of the first kind.FixedPrecisionApfloatHelper.chebyshevT
(Apfloat ν, Apfloat x) Chebyshev function of the first kind.static Apfloat
ApfloatMath.chebyshevU
(Apfloat ν, Apfloat x) Chebyshev function of the second kind.FixedPrecisionApfloatHelper.chebyshevU
(Apfloat ν, Apfloat x) Chebyshev function of the second kind.private static void
ApfloatMath.checkHypergeometric2F1
(Apfloat a, Apfloat b, Apfloat x) private static void
ApfloatMath.checkMinusOneNonInteger
(Apfloat ν, Apfloat x) static Apfloat
private Apfloat
FixedPrecisionApfloatHelper.checkSmallLinear
(Apfloat x) int
Compare this apfloat to the specified apfloat.int
Compare this apint to the specified apfloat.int
Compare this aprational to the specified apfloat.static int
RoundingHelper.compareToHalf
(Apfloat x) static Apint[]
ApfloatMath.continuedFraction
(Apfloat x, int n) Generates the firstn
terms in the continued fraction representation ofx
.ContinuedFractionHelper.continuedFraction
(Apfloat x) Apfloat[]
FixedPrecisionApfloatHelper.continuedFraction
(Apfloat x, int n) Continued fraction.static Aprational[]
ApfloatMath.convergents
(Apfloat x, int n) Generates the firstn
convergents corresponding to the continued fraction ofx
.Apfloat[]
FixedPrecisionApfloatHelper.convergents
(Apfloat x, int n) Convergents.static Apfloat
Copy sign from one argument to another.Copies the sign from one number to another.static Apfloat
Cosine.Cosine.static Apfloat
Hyperbolic cosine.Hyperbolic cosine.static Apfloat
ApfloatMath.coshIntegral
(Apfloat x) Hyperbolic cosine integral.FixedPrecisionApfloatHelper.coshIntegral
(Apfloat x) Hyperbolic cosine integral.static Apfloat
ApfloatMath.cosIntegral
(Apfloat x) Cosine integral.FixedPrecisionApfloatHelper.cosIntegral
(Apfloat x) Cosine integral.static Apfloat
Digamma function.Digamma function.Divides two apfloats.Division.static Apfloat
Complete elliptic integral of the second kind.(package private) static Apfloat
Complete elliptic integral of the second kind.static Apfloat
Complete elliptic integral of the first kind.(package private) static Apfloat
Complete elliptic integral of the first kind.static Apfloat
ApfloatHelper.ensurePrecision
(Apfloat x, long precision) long
Apfloat.equalDigits
(Apfloat x) Computes number of equal digits.static Apfloat
Error function.Error function.static Apfloat
Complementary error function.Complementary error function.(package private) static Apfloat
ApfloatMath.erfcFixedPrecision
(Apfloat x) (package private) static Apfloat
ApfloatMath.erfFixedPrecision
(Apfloat x) static Apfloat
Imaginary error function.Imaginary error function.(package private) static Apfloat
ApfloatMath.erfiFixedPrecision
(Apfloat x) static Apfloat
Euler polynomial.(package private) static Apfloat
Euler polynomial.static Apfloat
Exponent function.Exponential function.static Apfloat
ApfloatMath.expIntegralE
(Apfloat ν, Apfloat x) Exponential integral E.FixedPrecisionApfloatHelper.expIntegralE
(Apfloat ν, Apfloat x) Exponential integral E.static Apfloat
ApfloatMath.expIntegralEi
(Apfloat x) Exponential integral Ei.FixedPrecisionApfloatHelper.expIntegralEi
(Apfloat x) Exponential integral Ei.private static Apfloat
HurwitzZetaHelper.expPrecision
(Apfloat x) static Apfloat
ApfloatHelper.extendPrecision
(Apfloat x) static Apfloat
ApfloatHelper.extendPrecision
(Apfloat x, long extraPrecision) static Apfloat
Fibonacci function.Fibonacci function.static Apfloat
RootFinder.findRoot
(Function<Apfloat, Apfloat> f, BiFunction<Apfloat, Apfloat, Apfloat> fp, Apfloat y, Apfloat initialGuess, long targetPrecision) Find the root of the given function with Newton's method, starting from the given initial guess.static Apint
Floor function.Floor function.static Apfloat
Returns x modulo y.Modulus.static Apfloat
Extracts fractional part.Extract fractional part.static Apfloat
Fresnel integral C.Fresnel integral C.static Apfloat
Fresnel integral S.Fresnel integral S.private static Apcomplex
ApcomplexMath.fresnelTerm
(Apint one, Apfloat half, Apfloat invSqrtPi, Apcomplex iz2, Apcomplex iHalfPiZ2) static Apfloat
Gamma function.static Apfloat
Incomplete gamma function.static Apfloat
Generalized incomplete gamma function.Gamma function.Incomplete gamma function.Generalized incomplete gamma function.static Apfloat
ApfloatMath.gegenbauerC
(Apfloat ν, Apfloat x) Renormalized Gegenbauer function.static Apfloat
ApfloatMath.gegenbauerC
(Apfloat ν, Apfloat λ, Apfloat x) Gegenbauer function.FixedPrecisionApfloatHelper.gegenbauerC
(Apfloat ν, Apfloat x) Renormalized Gegenbauer function.FixedPrecisionApfloatHelper.gegenbauerC
(Apfloat ν, Apfloat λ, Apfloat x) Gegenbauer function.static long[]
ApfloatHelper.getMatchingPrecisions
(Apfloat x, Apfloat y) Get working precisions for the arguments of e.g.static long[]
ApfloatHelper.getMatchingPrecisions
(Apfloat a, Apfloat b, Apfloat c, Apfloat d) Get working precisions for the arguments of an multiply-add operation a * b + c * d.static Apfloat
ApfloatMath.harmonicNumber
(Apfloat x) Harmonic number.static Apfloat
ApfloatMath.harmonicNumber
(Apfloat x, Apfloat r) Generalized harmonic number.FixedPrecisionApfloatHelper.harmonicNumber
(Apfloat x) Harmonic number.FixedPrecisionApfloatHelper.harmonicNumber
(Apfloat x, Apfloat r) Generalized harmonic number.static Apfloat
Hermite function.Hermite function.static Apfloat
ApfloatMath.hypergeometric0F1
(Apfloat a, Apfloat x) Confluent hypergeometric function 0F1.FixedPrecisionApfloatHelper.hypergeometric0F1
(Apfloat a, Apfloat x) Confluent hypergeometric function 0F1.static Apfloat
ApfloatMath.hypergeometric0F1Regularized
(Apfloat a, Apfloat x) Regularized confluent hypergeometric function 0F̃1.FixedPrecisionApfloatHelper.hypergeometric0F1Regularized
(Apfloat a, Apfloat x) Regularized confluent hypergeometric function 0F̃1.static Apfloat
ApfloatMath.hypergeometric1F1
(Apfloat a, Apfloat b, Apfloat x) Kummer confluent hypergeometric function 1F1.FixedPrecisionApfloatHelper.hypergeometric1F1
(Apfloat a, Apfloat b, Apfloat x) Kummer confluent hypergeometric function 1F1.static Apfloat
ApfloatMath.hypergeometric1F1Regularized
(Apfloat a, Apfloat b, Apfloat x) Regularized Kummer confluent hypergeometric function 1F̃1.FixedPrecisionApfloatHelper.hypergeometric1F1Regularized
(Apfloat a, Apfloat b, Apfloat x) Regularized Kummer confluent hypergeometric function 1F̃1.static Apfloat
ApfloatMath.hypergeometric2F1
(Apfloat a, Apfloat b, Apfloat c, Apfloat x) Hypergeometric function 2F1.FixedPrecisionApfloatHelper.hypergeometric2F1
(Apfloat a, Apfloat b, Apfloat c, Apfloat x) Hypergeometric function 2F1.static Apfloat
ApfloatMath.hypergeometric2F1Regularized
(Apfloat a, Apfloat b, Apfloat c, Apfloat x) Regularized hypergeometric function 2F̃1.FixedPrecisionApfloatHelper.hypergeometric2F1Regularized
(Apfloat a, Apfloat b, Apfloat c, Apfloat x) Regularized hypergeometric function 2F̃1.static Apfloat
ApfloatMath.hypergeometricU
(Apfloat a, Apfloat b, Apfloat x) Tricomi's confluent hypergeometric function U.FixedPrecisionApfloatHelper.hypergeometricU
(Apfloat a, Apfloat b, Apfloat x) Tricomi's confluent hypergeometric function U.static Apfloat
ApfloatMath.inverseErf
(Apfloat x) Inverse error function.FixedPrecisionApfloatHelper.inverseErf
(Apfloat x) Inverse error function.static Apfloat
ApfloatMath.inverseErfc
(Apfloat x) Inverse complementary error function.FixedPrecisionApfloatHelper.inverseErfc
(Apfloat x) Inverse complementary error function.static Apfloat
ApfloatMath.inverseRoot
(Apfloat x, long n) Inverse positive integer root.static Apfloat
ApfloatMath.inverseRoot
(Apfloat x, long n, long targetPrecision) Inverse positive integer root.static Apfloat
ApfloatMath.inverseRoot
(Apfloat x, long n, long targetPrecision, Apfloat initialGuess) Inverse positive integer root.static Apfloat
ApfloatMath.inverseRoot
(Apfloat x, long n, long targetPrecision, Apfloat initialGuess, long initialPrecision) Inverse positive integer root.FixedPrecisionApfloatHelper.inverseRoot
(Apfloat x, long n) Inverse root.private static boolean
private static Apfloat
static Apfloat
Jacobi function.Jacobi function.static Apfloat
Laguerre function.static Apfloat
Generalized Laguerre function.Laguerre function.Generalized Laguerre function.private static Apfloat
ApfloatMath.lastIterationExtendPrecision
(int iterations, int precisingIteration, Apfloat x) static Apfloat
Legendre function.static Apfloat
Associated Legendre function of the first kind.Legendre function.Associated Legendre function of the first kind.static Apfloat
Legendre function of the second kind.static Apfloat
Associated Legendre function of the second kind.Legendre function of the second kind.Associated Legendre function of the second kind.static Apfloat
ApfloatHelper.limitPrecision
(Apfloat x, long precision) static Apfloat
Natural logarithm.private static Apfloat
static Apfloat
Logarithm in arbitrary base.Natural logarithm.Logarithm in specified base.static Apfloat
Logarithm of the gamma function.Logarithm of the gamma function.static Apfloat
ApfloatMath.logIntegral
(Apfloat x) Logarithmic integral.FixedPrecisionApfloatHelper.logIntegral
(Apfloat x) Logarithmic integral.static Apfloat
ApfloatMath.logisticSigmoid
(Apfloat x) Logistic sigmoid.FixedPrecisionApfloatHelper.logisticSigmoid
(Apfloat x) Logistic sigmoid.static Apfloat
Returns the greater of the two values.Maximum value.static Apfloat
Returns the smaller of the two values.Minimum value.Calculates the remainder when divided by an apfloat.Modulus.static Apfloat[]
Split to integer and fractional parts.Apfloat[]
Split to integer and fractional parts.private static Apint
ApintMath.modMultiply
(Apint x1, Apint x2, Apint y, Apfloat inverseY) Multiplies two apfloats.Multiplication.static Apfloat
ApfloatMath.multiplyAdd
(Apfloat a, Apfloat b, Apfloat c, Apfloat d) Fused multiply-add.FixedPrecisionApfloatHelper.multiplyAdd
(Apfloat a, Apfloat b, Apfloat c, Apfloat d) Fused multiply-add.private static Apfloat
ApfloatMath.multiplyAddOrSubtract
(Apfloat a, Apfloat b, Apfloat c, Apfloat d, boolean subtract) static Apfloat
ApfloatMath.multiplySubtract
(Apfloat a, Apfloat b, Apfloat c, Apfloat d) Fused multiply-subtract.FixedPrecisionApfloatHelper.multiplySubtract
(Apfloat a, Apfloat b, Apfloat c, Apfloat d) Fused multiply-subtract.static Apfloat
Deprecated.Usenegate()
.Negation.static Apfloat
Returns the number adjacent to the first argument in the direction of the second argument, considering the scale and precision of the first argument.The number adjacent to the first argument in the direction of the second argument.static Apfloat
Returns the number adjacent to the argument in the direction of negative infinity, considering the scale and precision of the argument.The adjacent value closer to negative infinity.private static Apfloat
ApfloatMath.nextInDirection
(Apfloat x, int direction) static Apfloat
Returns the number adjacent to the argument in the direction of positive infinity, considering the scale and precision of the argument.The adjacent value closer to positive infinity.static Apfloat
ApfloatMath.pochhammer
(Apfloat x, Apfloat n) Pochhammer symbol.FixedPrecisionApfloatHelper.pochhammer
(Apfloat x, Apfloat n) Pochhammer symbol.static Apfloat
Polygamma function.Polygamma function.static Apfloat
Polylogarithm.Polylogarithm.static Apfloat
Integer power.static Apfloat
Arbitrary power.Integer power.Power.boolean
Apfloat.preferCompare
(Apfloat x) Tests if the comparison withequals
andcompareTo
should be done in the opposite order.boolean
Aprational.preferCompare
(Apfloat x) static Apfloat
Product of numbers.Product.private Apcomplex
private static Apfloat
static Apfloat
ApfloatHelper.reducePrecision
(Apfloat x) static Apfloat
ApfloatHelper.reducePrecision
(Apfloat x, long extraPrecision) static Apfloat
Positive integer root.Root.static Apfloat
ApfloatMath.round
(Apfloat x, long precision, RoundingMode roundingMode) Deprecated.FixedPrecisionApfloatHelper.round
(Apfloat x, RoundingMode roundingMode) Deprecated.static Apint
ApfloatMath.roundToInteger
(Apfloat x, RoundingMode roundingMode) Roundsx
to integer using the specified rounding mode.FixedPrecisionApfloatHelper.roundToInteger
(Apfloat x, RoundingMode roundingMode) Round to integer with specified rounding mode.static Apint
RoundingHelper.roundToInteger
(Apfloat x, RoundingMode roundingMode) static Apfloat
ApfloatMath.roundToMultiple
(Apfloat x, Apfloat y, RoundingMode roundingMode) Roundsx
to the nearest multiple ofy
using the specified rounding mode.FixedPrecisionApfloatHelper.roundToMultiple
(Apfloat x, Apfloat y, RoundingMode roundingMode) Round to multiple with specified rounding mode.static Apfloat
RoundingHelper.roundToMultiple
(Apfloat x, Apfloat y, RoundingMode roundingMode) static Apfloat
ApfloatMath.roundToPlaces
(Apfloat x, long places, RoundingMode roundingMode) Roundsx
to the specified number of places using the specified rounding mode.FixedPrecisionApfloatHelper.roundToPlaces
(Apfloat x, long places, RoundingMode roundingMode) Round to specified number of places with specified rounding mode.static Apfloat
RoundingHelper.roundToPlaces
(Apfloat x, long places, RoundingMode roundingMode) static Apfloat
ApfloatMath.roundToPrecision
(Apfloat x, long precision, RoundingMode roundingMode) Rounds the given number to the specified precision with the specified rounding mode.FixedPrecisionApfloatHelper.roundToPrecision
(Apfloat x, RoundingMode roundingMode) Round to precision with specified rounding mode.static Apfloat
RoundingHelper.roundToPrecision
(Apfloat x, long precision, RoundingMode roundingMode) static Apfloat
Multiply by a power of the radix.Move the radix point.void
ApfloatMath.ApfloatHolder.setApfloat
(Apfloat apfloat) private void
(package private) Apfloat
FixedPrecisionApcomplexHelper.setErfPrecision
(Apfloat x) (package private) Apfloat
FixedPrecisionApcomplexHelper.setExponentialPrecision
(Apfloat x) (package private) Apfloat
FixedPrecisionApcomplexHelper.setGammaPrecision
(Apfloat x) private void
Aprational.setInverseDen
(Apfloat inverseDen) (package private) Apfloat
FixedPrecisionApcomplexHelper.setLogarithmicPrecision
(Apfloat x) private Apfloat
FixedPrecisionApfloatHelper.setPrecision
(Apfloat x) private Apfloat[]
FixedPrecisionApfloatHelper.setPrecision
(Apfloat[] x) (package private) Apfloat
FixedPrecisionApcomplexHelper.setTrigonometricPrecision
(Apfloat x) (package private) Apfloat
FixedPrecisionApcomplexHelper.setZetaPrecision
(Apfloat x) static Apfloat
Sine.Sine.static Apfloat
Sinc.Sinc.static Apfloat
Hyperbolic sine.Hyperbolic sine.static Apfloat
ApfloatMath.sinhIntegral
(Apfloat x) Hyperbolic sine integral.FixedPrecisionApfloatHelper.sinhIntegral
(Apfloat x) Hyperbolic sine integral.static Apfloat
ApfloatMath.sinIntegral
(Apfloat x) Sine integral.FixedPrecisionApfloatHelper.sinIntegral
(Apfloat x) Sine integral.private static Apfloat
RadixConversionHelper.split
(Apfloat x, int toRadix, long size, long split, RadixConversionHelper.RadixPowerList radixPowerList) static Apfloat
Square root.Square root.Subtracts two apfloats.Subtraction.static Apfloat
Sum of numbers.Sum.static Apfloat
Tangent.Tangent.static Apfloat
Hyperbolic tangent.private static Apfloat
Hyperbolic tangent.(package private) static Apfloat
ApfloatMath.tanhFixedPrecision
(Apfloat x) boolean
Tests two apfloat numbers for equality.boolean
boolean
static Apfloat
Converts an angle measured in radians to degrees.Convert radians to degrees.static Apfloat
Converts an angle measured in degrees to radians.Convert degrees to radians.static Apfloat
private static Apfloat
RadixConversionHelper.toRadixFractionalPart
(Apfloat x, int toRadix, long size, long scale, RadixConversionHelper.RadixPowerList radixPowerList) private static Apfloat
RadixConversionHelper.toRadixIntegerPart
(Apfloat x, int toRadix, long size, long scale, RadixConversionHelper.RadixPowerList radixPowerList) private static Apfloat
RadixConversionHelper.toRadixNormalizedPart
(Apfloat x, int toRadix, long size, RadixConversionHelper.RadixPowerList radixPowerList) static Apint
Truncates fractional part.Truncate fractional part.static Apfloat
Returns the unit in the last place of the argument, considering the scale and precision.private static Apfloat
Unit in the last place.(package private) Apfloat
Returns the value with the specified precision.static Apfloat
Lambert W function.Lambert W function.static Apfloat
static Apfloat
Riemann zeta function.static Apfloat
Hurwitz zeta function.Riemann zeta function.Hurwitz zeta function.Method parameters in org.apfloat with type arguments of type ApfloatModifier and TypeMethodDescription(package private) static Apfloat
private static Apfloat
ApfloatMath.agmConsume
(Consumer<Apfloat> consumer, Apfloat a, Apfloat c2, long workingPrecision) static Apfloat
RootFinder.findRoot
(Function<Apfloat, Apfloat> f, BiFunction<Apfloat, Apfloat, Apfloat> fp, Apfloat y, Apfloat initialGuess, long targetPrecision) Find the root of the given function with Newton's method, starting from the given initial guess.static Apfloat
RootFinder.findRoot
(Function<Apfloat, Apfloat> f, BiFunction<Apfloat, Apfloat, Apfloat> fp, Apfloat y, Apfloat initialGuess, long targetPrecision) Find the root of the given function with Newton's method, starting from the given initial guess.static Apfloat
RootFinder.findRoot
(Function<Apfloat, Apfloat> f, BiFunction<Apfloat, Apfloat, Apfloat> fp, Apfloat y, Apfloat initialGuess, long targetPrecision) Find the root of the given function with Newton's method, starting from the given initial guess.static Apfloat
RootFinder.findRoot
(Function<Apfloat, Apfloat> f, BiFunction<Apfloat, Apfloat, Apfloat> fp, Apfloat y, Apfloat initialGuess, long targetPrecision) Find the root of the given function with Newton's method, starting from the given initial guess.static Apfloat
RootFinder.findRoot
(Function<Apfloat, Apfloat> f, BiFunction<Apfloat, Apfloat, Apfloat> fp, Apfloat y, Apfloat initialGuess, long targetPrecision) Find the root of the given function with Newton's method, starting from the given initial guess.Constructors in org.apfloat with parameters of type ApfloatModifierConstructorDescriptionConstruct a real apcomplex whose imaginary part is zero.Construct an apcomplex with the specified real and imaginary part.ApfloatHolder
(Apfloat apfloat) (package private)
private
EulerHelper
(Apfloat n2, long precision, int radix) -
Uses of Apfloat in org.apfloat.samples
Fields in org.apfloat.samples declared as ApfloatModifier and TypeFieldDescriptionprivate final Apfloat
Pi.ChudnovskyBinarySplittingSeries.A
private final Apfloat
Pi.RamanujanBinarySplittingSeries.A
private Apfloat
ApfloatHolder.apfloat
private final Apfloat
Pi.ChudnovskyBinarySplittingSeries.B
private final Apfloat
Pi.RamanujanBinarySplittingSeries.B
private final Apfloat
Pi.ChudnovskyBinarySplittingSeries.FIVE
private final Apfloat
Pi.RamanujanBinarySplittingSeries.FOUR
private final Apfloat
Pi.ChudnovskyBinarySplittingSeries.J
private final Apfloat
Pi.RamanujanBinarySplittingSeries.J
private final Apfloat
Pi.ChudnovskyBinarySplittingSeries.ONE
private final Apfloat
Pi.RamanujanBinarySplittingSeries.ONE
private final Apfloat
Pi.ChudnovskyBinarySplittingSeries.SIX
private final Apfloat
Pi.RamanujanBinarySplittingSeries.THREE
private final Apfloat
Pi.ChudnovskyBinarySplittingSeries.TWO
private final Apfloat
Pi.RamanujanBinarySplittingSeries.TWO
Methods in org.apfloat.samples that return ApfloatModifier and TypeMethodDescriptionprivate Apfloat
Pi.BinarySplittingPiCalculator.a
(long n) Pi.BinarySplittingSeries.a
(long n) Binary splitting term.Pi.ChudnovskyBinarySplittingSeries.a
(long n) Pi.RamanujanBinarySplittingSeries.a
(long n) Pi.BorweinPiCalculator.execute()
Calculate pi using the Borweins' quartic iteration.Pi.ChudnovskyPiCalculator.execute()
Calculate pi using the Chudnovskys' binary splitting algorithm.Pi.GaussLegendrePiCalculator.execute()
Calculate pi using the Gauss-Legendre iteration.Pi.RamanujanPiCalculator.execute()
Calculate pi using the Ramanujan binary splitting algorithm.PiDistributed.DistributedChudnovskyPiCalculator.execute()
PiDistributed.DistributedRamanujanPiCalculator.execute()
PiParallel.ParallelChudnovskyPiCalculator.execute()
PiParallel.ParallelRamanujanPiCalculator.execute()
private Apfloat
PiDistributed.DistributedBinarySplittingPiCalculator.executeAdd
(PiDistributed.Node node, Apfloat x, Apfloat y) ApfloatHolder.getApfloat()
Return the apfloat contained in this bean.private Apfloat
Pi.BinarySplittingPiCalculator.p
(long n) Pi.BinarySplittingSeries.p
(long n) Binary splitting term.Pi.ChudnovskyBinarySplittingSeries.p
(long n) Pi.RamanujanBinarySplittingSeries.p
(long n) private Apfloat
Pi.BinarySplittingPiCalculator.q
(long n) Pi.BinarySplittingSeries.q
(long n) Binary splitting term.Pi.ChudnovskyBinarySplittingSeries.q
(long n) Pi.RamanujanBinarySplittingSeries.q
(long n) Methods in org.apfloat.samples that return types with arguments of type ApfloatModifier and TypeMethodDescriptionPiAWT.getOperation
(long precision, int radix) Get the calculation operation to execute.PiParallelAWT.getOperation
(long precision, int radix) Methods in org.apfloat.samples with parameters of type ApfloatModifier and TypeMethodDescriptionprivate Apfloat
PiDistributed.DistributedBinarySplittingPiCalculator.executeAdd
(PiDistributed.Node node, Apfloat x, Apfloat y) void
ApfloatHolder.setApfloat
(Apfloat apfloat) Set the apfloat contained in this bean.Method parameters in org.apfloat.samples with type arguments of type ApfloatModifier and TypeMethodDescriptionstatic void
Execute an operation and display some additional information.Constructors in org.apfloat.samples with parameters of type ApfloatModifierConstructorDescriptionApfloatHolder
(Apfloat apfloat) Construct an ApfloatHolder containing the specified apfloat.
negate()
.