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 classSubclasses of Apfloat in org.apfloatModifier and TypeClassDescriptionclassArbitrary precision integer class.classArbitrary precision rational number class.Classes in org.apfloat that implement interfaces with type arguments of type ApfloatFields in org.apfloat declared as ApfloatModifier and TypeFieldDescriptionprivate final ApfloatApfloatMath.PiCalculator.Aprivate ApfloatApfloatMath.ApfloatHolder.apfloatprivate final ApfloatApfloatMath.PiCalculator.Bprivate ApfloatLambertWHelper.eprivate TContinuedFractionHelper.ContinuedFractionIterator.fprivate final ApfloatApfloatMath.PiCalculator.FIVEprivate ApfloatApcomplex.imagprivate final ApfloatApfloatMath.PiCalculator.Jprivate ApfloatLambertWHelper.minusOnePerEprivate final ApfloatEulerHelper.n2private ApfloatZetaHelper.NNprivate final ApfloatApfloatMath.PiCalculator.ONEprivate ApfloatZetaHelper.piprivate ApfloatApcomplex.realprivate final ApfloatApfloatMath.PiCalculator.SIXprivate final ApfloatApfloatMath.PiCalculator.TWOprivate ApfloatLambertWHelper.twoPiprivate ApfloatLambertWHelper.twoPiKprivate ApfloatApint.valueprivate ApfloatLambertWHelper.xFields in org.apfloat with type parameters of type ApfloatModifier and TypeFieldDescriptionprivate SoftReference<Apfloat> Aprational.approxprivate SoftReference<Apfloat> Aprational.inverseDenRadixConversionHelper.RadixPowerList.listApfloatMath.nextGaussianApfloatMath.radixLogApfloatMath.radixLogPiApfloatMath.radixPiApfloatMath.radixPiInverseRootApfloatMath.radixPiPApfloatMath.radixPiQApfloatMath.radixPiTApfloatMath.SHUTDOWN_MAPMethods in org.apfloat that return ApfloatModifier and TypeMethodDescriptionprivate ApfloatApfloatMath.PiCalculator.a(long n) static ApfloatAbsolute value.(package private) ApfloatApfloat.abs()static ApfloatAbsolute value.Absolute value.Absolute value.private static Apfloatstatic ApfloatInverse cosine.(package private) static ApfloatArc cosine.static ApfloatInverse hyperbolic cosine.Hyperbolic arc cosine.Adds two apfloats.Addition.private ApfloatApfloat.addOrSubtract(Apfloat x, boolean subtract) private ApfloatHypergeometricHelper.adjustOffset(Apfloat x, Apfloat offset) static ApfloatArithmetic-geometric mean.(package private) static ApfloatArithmetic-geometric mean.private static ApfloatApfloatMath.agmConsume(Consumer<Apfloat> consumer, Apfloat a, Apfloat c2, long workingPrecision) static ApfloatAiry function Ai.(package private) static ApfloatAiry function Ai.static ApfloatApfloatMath.airyAiPrime(Apfloat x) Derivative of the Airy function Ai.(package private) static ApfloatApfloatMath.airyAiPrime(Apfloat x, long precision) FixedPrecisionApfloatHelper.airyAiPrime(Apfloat x) Derivative of the Airy function Ai.static ApfloatAiry function Bi.(package private) static ApfloatAiry function Bi.static ApfloatApfloatMath.airyBiPrime(Apfloat x) Derivative of the Airy function Bi.(package private) static ApfloatApfloatMath.airyBiPrime(Apfloat x, long precision) FixedPrecisionApfloatHelper.airyBiPrime(Apfloat x) Derivative of the Airy function Bi.static ApfloatAngle of the complex vector in the complex plane.Complex angle.static ApfloatInverse sine.Arc sine.static ApfloatInverse hyperbolic sine.Hyperbolic arc sine.static ApfloatInverse tangent.Arc tangent.static ApfloatConverts cartesian coordinates to polar coordinates.Angle of point.static ApfloatInverse hyperbolic tangent.Hyperbolic arc tangent.FixedPrecisionApcomplexHelper.bernoulli(long n) Bernoulli number.FixedPrecisionApcomplexHelper.bernoulli(long n, int radix) Bernoulli number.static ApfloatApfloatMath.bernoulliB(long n, Apfloat x) Bernoulli polynomial.(package private) static ApfloatApfloatMath.bernoulliB(long n, Apfloat x, long precision) FixedPrecisionApfloatHelper.bernoulliB(long n, Apfloat x) Bernoulli polynomial.static ApfloatModified Bessel function of the first kind.Modified Bessel function of the first kind.static ApfloatBessel function of the first kind.Bessel function of the first kind.static ApfloatModified Bessel function of the second kind.Modified Bessel function of the second kind.static ApfloatBessel function of the second kind.Bessel function of the second kind.static ApfloatBeta function.static ApfloatIncomplete beta function.static ApfloatGeneralized incomplete beta function.Beta function.Incomplete beta function.Generalized incomplete beta function.static ApfloatBinomial coefficient.FixedPrecisionApcomplexHelper.binomial(long n, long k) Binomial coefficient.FixedPrecisionApcomplexHelper.binomial(long n, long k, int radix) Binomial coefficient.Binomial coefficient.private static ApfloatApfloatMath.calculatePi(long precision, int radix) static ApfloatApfloatMath.catalan(long precision) Calculates Catalan's constant, G.static ApfloatApfloatMath.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 ApfloatCube root.Cube root.Ceiling function.static ApfloatApfloatMath.chebyshevT(Apfloat ν, Apfloat x) Chebyshev function of the first kind.FixedPrecisionApfloatHelper.chebyshevT(Apfloat ν, Apfloat x) Chebyshev function of the first kind.static ApfloatApfloatMath.chebyshevU(Apfloat ν, Apfloat x) Chebyshev function of the second kind.FixedPrecisionApfloatHelper.chebyshevU(Apfloat ν, Apfloat x) Chebyshev function of the second kind.static Apfloatprivate ApfloatFixedPrecisionApfloatHelper.checkSmallLinear(Apfloat x) Apfloat[]FixedPrecisionApfloatHelper.continuedFraction(Apfloat x, int n) Continued fraction.Apfloat[]FixedPrecisionApfloatHelper.convergents(Apfloat x, int n) Convergents.static ApfloatCopy sign from one argument to another.Copies the sign from one number to another.static ApfloatCosine.Cosine.static ApfloatHyperbolic cosine.Hyperbolic cosine.static ApfloatApfloatMath.coshIntegral(Apfloat x) Hyperbolic cosine integral.FixedPrecisionApfloatHelper.coshIntegral(Apfloat x) Hyperbolic cosine integral.static ApfloatApfloatMath.cosIntegral(Apfloat x) Cosine integral.FixedPrecisionApfloatHelper.cosIntegral(Apfloat x) Cosine integral.static ApfloatDigamma function.Digamma function.Divides two apfloats.Division.private ApfloatLambertWHelper.doReal()(package private) static ApfloatApfloatMath.doubleFactorial(long n, long precision) (package private) static ApfloatApfloatMath.doubleFactorial(long n, long precision, int radix) FixedPrecisionApfloatHelper.doubleFactorial(long n) Double factorial.FixedPrecisionApfloatHelper.doubleFactorial(long n, int radix) Double factorial.static ApfloatApfloatMath.e(long precision) Calculates e.static ApfloatApfloatMath.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 ApfloatLambertWHelper.e(long precision) static ApfloatComplete elliptic integral of the second kind.(package private) static ApfloatComplete elliptic integral of the second kind.static ApfloatComplete elliptic integral of the first kind.(package private) static ApfloatComplete elliptic integral of the first kind.private ApfloatAprational.ensureApprox(long precision) static ApfloatApfloatHelper.ensurePrecision(Apfloat x, long precision) static ApfloatError function.Error function.static ApfloatComplementary error function.Complementary error function.(package private) static ApfloatApfloatMath.erfcFixedPrecision(Apfloat x) (package private) static ApfloatApfloatMath.erfFixedPrecision(Apfloat x) static ApfloatImaginary error function.Imaginary error function.(package private) static ApfloatApfloatMath.erfiFixedPrecision(Apfloat x) static ApfloatApfloatMath.euler(long precision) Calculates γ, the Euler-Mascheroni constant.static ApfloatApfloatMath.euler(long precision, int radix) Calculates γ, the Euler-Mascheroni constant.static ApfloatEulerHelper.euler(long precision, int radix) FixedPrecisionApcomplexHelper.euler()γ, the Euler-Mascheroni constant.FixedPrecisionApcomplexHelper.euler(int radix) γ, the Euler-Mascheroni constant.static ApfloatEuler polynomial.(package private) static ApfloatEuler polynomial.(package private) static ApfloatApfloatMath.eulerSmall(long precision, int radix) static ApfloatExponent function.Exponential function.static ApfloatApfloatMath.expIntegralE(Apfloat ν, Apfloat x) Exponential integral E.FixedPrecisionApfloatHelper.expIntegralE(Apfloat ν, Apfloat x) Exponential integral E.static ApfloatApfloatMath.expIntegralEi(Apfloat x) Exponential integral Ei.FixedPrecisionApfloatHelper.expIntegralEi(Apfloat x) Exponential integral Ei.private static ApfloatHurwitzZetaHelper.expPrecision(Apfloat x) static ApfloatApfloatHelper.extendPrecision(Apfloat x) static ApfloatApfloatHelper.extendPrecision(Apfloat x, long extraPrecision) (package private) static ApfloatApfloatMath.factorial(long n, long precision) (package private) static ApfloatApfloatMath.factorial(long n, long precision, int radix) FixedPrecisionApfloatHelper.factorial(long n) Factorial.FixedPrecisionApfloatHelper.factorial(long n, int radix) Factorial.static ApfloatFibonacci function.Fibonacci function.static ApfloatRootFinder.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 ApfloatReturns x modulo y.Modulus.Apfloat.frac()Returns the fractional part.static ApfloatExtracts fractional part.Extract fractional part.static ApfloatFresnel integral C.Fresnel integral C.static ApfloatFresnel integral S.Fresnel integral S.static ApfloatGamma function.static ApfloatIncomplete gamma function.static ApfloatGeneralized incomplete gamma function.Gamma function.Incomplete gamma function.Generalized incomplete gamma function.static ApfloatApfloatMath.gegenbauerC(Apfloat ν, Apfloat x) Renormalized Gegenbauer function.static ApfloatApfloatMath.gegenbauerC(Apfloat ν, Apfloat λ, Apfloat x) Gegenbauer function.FixedPrecisionApfloatHelper.gegenbauerC(Apfloat ν, Apfloat x) Renormalized Gegenbauer function.FixedPrecisionApfloatHelper.gegenbauerC(Apfloat ν, Apfloat λ, Apfloat x) Gegenbauer function.private ApfloatRadixConversionHelper.RadixPowerList.get(int index) ApfloatMath.ApfloatHolder.getApfloat()private ApfloatAprational.getApprox(long precision) private ApfloatAprational.getInverseDen()static ApfloatApfloatMath.glaisher(long precision) Calculates the Glaisher‐Kinkelin constant, A.static ApfloatApfloatMath.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 ApfloatApfloatMath.halfPi(int radix, long precision) static ApfloatApfloatMath.harmonicNumber(Apfloat x) Harmonic number.static ApfloatApfloatMath.harmonicNumber(Apfloat x, Apfloat r) Generalized harmonic number.FixedPrecisionApfloatHelper.harmonicNumber(Apfloat x) Harmonic number.FixedPrecisionApfloatHelper.harmonicNumber(Apfloat x, Apfloat r) Generalized harmonic number.static ApfloatHermite function.Hermite function.static ApfloatApfloatMath.hypergeometric0F1(Apfloat a, Apfloat x) Confluent hypergeometric function 0F1.FixedPrecisionApfloatHelper.hypergeometric0F1(Apfloat a, Apfloat x) Confluent hypergeometric function 0F1.static ApfloatApfloatMath.hypergeometric0F1Regularized(Apfloat a, Apfloat x) Regularized confluent hypergeometric function 0F̃1.FixedPrecisionApfloatHelper.hypergeometric0F1Regularized(Apfloat a, Apfloat x) Regularized confluent hypergeometric function 0F̃1.static ApfloatApfloatMath.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 ApfloatApfloatMath.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 ApfloatApfloatMath.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 ApfloatApfloatMath.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 ApfloatApfloatMath.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 ApfloatApfloatMath.inverseErf(Apfloat x) Inverse error function.FixedPrecisionApfloatHelper.inverseErf(Apfloat x) Inverse error function.static ApfloatApfloatMath.inverseErfc(Apfloat x) Inverse complementary error function.FixedPrecisionApfloatHelper.inverseErfc(Apfloat x) Inverse complementary error function.static ApfloatApfloatMath.inverseRoot(Apfloat x, long n) Inverse positive integer root.static ApfloatApfloatMath.inverseRoot(Apfloat x, long n, long targetPrecision) Inverse positive integer root.static ApfloatApfloatMath.inverseRoot(Apfloat x, long n, long targetPrecision, Apfloat initialGuess) Inverse positive integer root.static ApfloatApfloatMath.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 Apfloatstatic ApfloatJacobi function.Jacobi function.static ApfloatApfloatMath.khinchin(long precision) Calculates Khinchin's constant, K.Uses the default radix.static ApfloatApfloatMath.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 ApfloatLaguerre function.static ApfloatGeneralized Laguerre function.Laguerre function.Generalized Laguerre function.private static ApfloatApfloatMath.lastIterationExtendPrecision(int iterations, int precisingIteration, Apfloat x) static ApfloatLegendre function.static ApfloatAssociated Legendre function of the first kind.Legendre function.Associated Legendre function of the first kind.static ApfloatLegendre function of the second kind.static ApfloatAssociated Legendre function of the second kind.Legendre function of the second kind.Associated Legendre function of the second kind.static ApfloatApfloatHelper.limitPrecision(Apfloat x, long precision) static ApfloatNatural logarithm.private static Apfloatstatic ApfloatLogarithm in arbitrary base.Natural logarithm.Logarithm in specified base.static ApfloatLogarithm of the gamma function.Logarithm of the gamma function.static ApfloatApfloatMath.logIntegral(Apfloat x) Logarithmic integral.FixedPrecisionApfloatHelper.logIntegral(Apfloat x) Logarithmic integral.static ApfloatApfloatMath.logisticSigmoid(Apfloat x) Logistic sigmoid.FixedPrecisionApfloatHelper.logisticSigmoid(Apfloat x) Logistic sigmoid.static ApfloatApfloatMath.logRadix(long precision, int radix) Gets or calculates logarithm of a radix to required precision.private static ApfloatApfloatMath.logRadix(long precision, int radix, boolean multiplyByPi) FixedPrecisionApfloatHelper.logRadix(int radix) Logarithm.static ApfloatReturns the greater of the two values.Maximum value.static ApfloatHypergeometricHelper.maxNonPositiveInteger(Apcomplex... a) static ApfloatReturns 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 ApfloatApfloatMath.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 ApfloatApfloatMath.multiplyAddOrSubtract(Apfloat a, Apfloat b, Apfloat c, Apfloat d, boolean subtract) static ApfloatApfloatMath.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 ApfloatDeprecated.Negation.private ApfloatLambertWHelper.negativeRealSeries()static ApfloatReturns 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 ApfloatReturns 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 ApfloatApfloatMath.nextInDirection(Apfloat x, int direction) static ApfloatReturns 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 ApfloatNorm.Norm.private static ApfloatApfloatMath.oddProduct(long n, long m, long precision, int radix) private ApfloatBesselHelper.offset(long scale) private ApfloatHypergeometricHelper.offset(long scale) private ApfloatApfloatMath.PiCalculator.p(long n) static ApfloatApfloatMath.pi(long precision) Calculates π.static ApfloatApfloatMath.pi(long precision, int radix) Calculates π.(package private) ApfloatFixedPrecisionApcomplexHelper.pi()(package private) ApfloatFixedPrecisionApcomplexHelper.pi(int radix) FixedPrecisionApfloatHelper.pi()π.FixedPrecisionApfloatHelper.pi(int radix) π.static ApfloatApfloatMath.pochhammer(Apfloat x, Apfloat n) Pochhammer symbol.FixedPrecisionApfloatHelper.pochhammer(Apfloat x, Apfloat n) Pochhammer symbol.static ApfloatPolygamma function.Polygamma function.static ApfloatPolylogarithm.Polylogarithm.private ApfloatLambertWHelper.positiveRealSeries()static ApfloatInteger power.static ApfloatArbitrary 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 ApfloatProduct of numbers.Product.private ApfloatApfloatMath.PiCalculator.q(long n) private static Apfloatstatic ApfloatApfloatMath.random(long digits) Generates a random number.static ApfloatApfloatMath.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 ApfloatApfloatMath.randomGaussian(long digits) Generates a random, Gaussian ("normally") distributed number value with mean 0 and standard deviation 1.static ApfloatApfloatMath.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 ApfloatApcomplex.real()Returns the real part of this apcomplex.Apfloat.real()Real part of this apfloat.Real part.LambertWHelper.real()private ApfloatLambertWHelper.realSeries(Apcomplex p) static ApfloatApfloatHelper.reducePrecision(Apfloat x) static ApfloatApfloatHelper.reducePrecision(Apfloat x, long extraPrecision) static ApfloatPositive integer root.Root.static ApfloatApfloatMath.round(Apfloat x, long precision, RoundingMode roundingMode) Deprecated.static ApfloatAprationalMath.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 ApfloatApfloatMath.roundToMultiple(Apfloat x, Apfloat y, RoundingMode roundingMode) Roundsxto the nearest multiple ofyusing the specified rounding mode.FixedPrecisionApfloatHelper.roundToMultiple(Apfloat x, Apfloat y, RoundingMode roundingMode) Round to multiple with specified rounding mode.static ApfloatRoundingHelper.roundToMultiple(Apfloat x, Apfloat y, RoundingMode roundingMode) static ApfloatApfloatMath.roundToPlaces(Apfloat x, long places, RoundingMode roundingMode) Roundsxto the specified number of places using the specified rounding mode.static ApfloatAprationalMath.roundToPlaces(Aprational x, long places, RoundingMode roundingMode) Roundsxto 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 ApfloatRoundingHelper.roundToPlaces(Apfloat x, long places, RoundingMode roundingMode) static ApfloatApfloatMath.roundToPrecision(Apfloat x, long precision, RoundingMode roundingMode) Rounds the given number to the specified precision with the specified rounding mode.static ApfloatAprationalMath.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 ApfloatRoundingHelper.roundToPrecision(Apfloat x, long precision, RoundingMode roundingMode) (package private) ApfloatApfloat.scale(long scale) static ApfloatMultiply by a power of the radix.Move the radix point.(package private) ApfloatFixedPrecisionApcomplexHelper.setErfPrecision(Apfloat x) (package private) ApfloatFixedPrecisionApcomplexHelper.setExponentialPrecision(Apfloat x) (package private) ApfloatFixedPrecisionApcomplexHelper.setGammaPrecision(Apfloat x) (package private) ApfloatFixedPrecisionApcomplexHelper.setLogarithmicPrecision(Apfloat x) private ApfloatFixedPrecisionApfloatHelper.setPrecision(Apfloat x) private Apfloat[]FixedPrecisionApfloatHelper.setPrecision(Apfloat[] x) (package private) ApfloatFixedPrecisionApcomplexHelper.setTrigonometricPrecision(Apfloat x) (package private) ApfloatFixedPrecisionApcomplexHelper.setZetaPrecision(Apfloat x) static ApfloatSine.Sine.static ApfloatSinc.Sinc.static ApfloatHyperbolic sine.Hyperbolic sine.static ApfloatApfloatMath.sinhIntegral(Apfloat x) Hyperbolic sine integral.FixedPrecisionApfloatHelper.sinhIntegral(Apfloat x) Hyperbolic sine integral.static ApfloatApfloatMath.sinIntegral(Apfloat x) Sine integral.FixedPrecisionApfloatHelper.sinIntegral(Apfloat x) Sine integral.private static ApfloatRadixConversionHelper.split(Apfloat x, int toRadix, long size, long split, RadixConversionHelper.RadixPowerList radixPowerList) static ApfloatSquare root.Square root.Subtracts two apfloats.Subtraction.static ApfloatSum of numbers.Sum.static ApfloatTangent.Tangent.static ApfloatHyperbolic tangent.private static ApfloatHyperbolic tangent.(package private) static ApfloatApfloatMath.tanhFixedPrecision(Apfloat x) static ApfloatConverts an angle measured in radians to degrees.Convert radians to degrees.static ApfloatConverts an angle measured in degrees to radians.Convert degrees to radians.Apfloat.toRadix(int radix) Convert this apfloat to the specified radix.static Apfloatprivate static ApfloatRadixConversionHelper.toRadixFractionalPart(Apfloat x, int toRadix, long size, long scale, RadixConversionHelper.RadixPowerList radixPowerList) private static ApfloatRadixConversionHelper.toRadixIntegerPart(Apfloat x, int toRadix, long size, long scale, RadixConversionHelper.RadixPowerList radixPowerList) private static ApfloatRadixConversionHelper.toRadixNormalizedPart(Apfloat x, int toRadix, long size, RadixConversionHelper.RadixPowerList radixPowerList) Truncate fractional part.private ApfloatLambertWHelper.twoPi()private ApfloatLambertWHelper.twoPiK()static ApfloatReturns the unit in the last place of the argument, considering the scale and precision.static ApfloatReturns the unit in the last place of the argument, considering the scale and precision.private static ApfloatUnit in the last place.Unit in the last place.(package private) ApfloatReturns the value with the specified precision.static ApfloatLambert W function.Lambert W function.static Apfloatstatic ApfloatRiemann zeta function.static ApfloatHurwitz zeta function.Riemann zeta function.Hurwitz zeta function.Methods in org.apfloat with parameters of type ApfloatModifier and TypeMethodDescriptionstatic ApfloatAbsolute value.Absolute value.static ApfloatInverse cosine.(package private) static ApfloatArc cosine.static ApfloatInverse hyperbolic cosine.Hyperbolic arc cosine.Adds two apfloats.Addition.private ApfloatApfloat.addOrSubtract(Apfloat x, boolean subtract) private ApfloatHypergeometricHelper.adjustOffset(Apfloat x, Apfloat offset) static ApfloatArithmetic-geometric mean.(package private) static ApfloatArithmetic-geometric mean.private static ApfloatApfloatMath.agmConsume(Consumer<Apfloat> consumer, Apfloat a, Apfloat c2, long workingPrecision) static ApfloatAiry function Ai.(package private) static ApfloatAiry function Ai.static ApfloatApfloatMath.airyAiPrime(Apfloat x) Derivative of the Airy function Ai.(package private) static ApfloatApfloatMath.airyAiPrime(Apfloat x, long precision) FixedPrecisionApfloatHelper.airyAiPrime(Apfloat x) Derivative of the Airy function Ai.static ApfloatAiry function Bi.(package private) static ApfloatAiry function Bi.static ApfloatApfloatMath.airyBiPrime(Apfloat x) Derivative of the Airy function Bi.(package private) static ApfloatApfloatMath.airyBiPrime(Apfloat x, long precision) FixedPrecisionApfloatHelper.airyBiPrime(Apfloat x) Derivative of the Airy function Bi.static ApfloatInverse sine.Arc sine.static ApfloatInverse hyperbolic sine.Hyperbolic arc sine.static ApfloatInverse tangent.Arc tangent.static ApfloatConverts cartesian coordinates to polar coordinates.Angle of point.static ApfloatInverse hyperbolic tangent.Hyperbolic arc tangent.static ApfloatApfloatMath.bernoulliB(long n, Apfloat x) Bernoulli polynomial.(package private) static ApfloatApfloatMath.bernoulliB(long n, Apfloat x, long precision) FixedPrecisionApfloatHelper.bernoulliB(long n, Apfloat x) Bernoulli polynomial.static ApfloatModified Bessel function of the first kind.Modified Bessel function of the first kind.static ApfloatBessel function of the first kind.Bessel function of the first kind.static ApfloatModified Bessel function of the second kind.Modified Bessel function of the second kind.static ApfloatBessel function of the second kind.Bessel function of the second kind.static ApfloatBeta function.static ApfloatIncomplete beta function.static ApfloatGeneralized incomplete beta function.Beta function.Incomplete beta function.Generalized incomplete beta function.static ApfloatBinomial coefficient.Binomial coefficient.static ApfloatCube root.Cube root.static ApintCeiling function.Ceiling function.static ApfloatApfloatMath.chebyshevT(Apfloat ν, Apfloat x) Chebyshev function of the first kind.FixedPrecisionApfloatHelper.chebyshevT(Apfloat ν, Apfloat x) Chebyshev function of the first kind.static ApfloatApfloatMath.chebyshevU(Apfloat ν, Apfloat x) Chebyshev function of the second kind.FixedPrecisionApfloatHelper.chebyshevU(Apfloat ν, Apfloat x) Chebyshev function of the second kind.private static voidApfloatMath.checkHypergeometric2F1(Apfloat a, Apfloat b, Apfloat x) private static voidApfloatMath.checkMinusOneNonInteger(Apfloat ν, Apfloat x) static Apfloatprivate ApfloatFixedPrecisionApfloatHelper.checkSmallLinear(Apfloat x) intCompare this apfloat to the specified apfloat.intCompare this apint to the specified apfloat.intCompare this aprational to the specified apfloat.static intRoundingHelper.compareToHalf(Apfloat x) static Apint[]ApfloatMath.continuedFraction(Apfloat x, int n) Generates the firstnterms 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 firstnconvergents corresponding to the continued fraction ofx.Apfloat[]FixedPrecisionApfloatHelper.convergents(Apfloat x, int n) Convergents.static ApfloatCopy sign from one argument to another.Copies the sign from one number to another.static ApfloatCosine.Cosine.static ApfloatHyperbolic cosine.Hyperbolic cosine.static ApfloatApfloatMath.coshIntegral(Apfloat x) Hyperbolic cosine integral.FixedPrecisionApfloatHelper.coshIntegral(Apfloat x) Hyperbolic cosine integral.static ApfloatApfloatMath.cosIntegral(Apfloat x) Cosine integral.FixedPrecisionApfloatHelper.cosIntegral(Apfloat x) Cosine integral.static ApfloatDigamma function.Digamma function.Divides two apfloats.Division.static ApfloatComplete elliptic integral of the second kind.(package private) static ApfloatComplete elliptic integral of the second kind.static ApfloatComplete elliptic integral of the first kind.(package private) static ApfloatComplete elliptic integral of the first kind.static ApfloatApfloatHelper.ensurePrecision(Apfloat x, long precision) longApfloat.equalDigits(Apfloat x) Computes number of equal digits.static ApfloatError function.Error function.static ApfloatComplementary error function.Complementary error function.(package private) static ApfloatApfloatMath.erfcFixedPrecision(Apfloat x) (package private) static ApfloatApfloatMath.erfFixedPrecision(Apfloat x) static ApfloatImaginary error function.Imaginary error function.(package private) static ApfloatApfloatMath.erfiFixedPrecision(Apfloat x) static ApfloatEuler polynomial.(package private) static ApfloatEuler polynomial.static ApfloatExponent function.Exponential function.static ApfloatApfloatMath.expIntegralE(Apfloat ν, Apfloat x) Exponential integral E.FixedPrecisionApfloatHelper.expIntegralE(Apfloat ν, Apfloat x) Exponential integral E.static ApfloatApfloatMath.expIntegralEi(Apfloat x) Exponential integral Ei.FixedPrecisionApfloatHelper.expIntegralEi(Apfloat x) Exponential integral Ei.private static ApfloatHurwitzZetaHelper.expPrecision(Apfloat x) static ApfloatApfloatHelper.extendPrecision(Apfloat x) static ApfloatApfloatHelper.extendPrecision(Apfloat x, long extraPrecision) static ApfloatFibonacci function.Fibonacci function.static ApfloatRootFinder.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 ApintFloor function.Floor function.static ApfloatReturns x modulo y.Modulus.static ApfloatExtracts fractional part.Extract fractional part.static ApfloatFresnel integral C.Fresnel integral C.static ApfloatFresnel integral S.Fresnel integral S.private static ApcomplexApcomplexMath.fresnelTerm(Apint one, Apfloat half, Apfloat invSqrtPi, Apcomplex iz2, Apcomplex iHalfPiZ2) static ApfloatGamma function.static ApfloatIncomplete gamma function.static ApfloatGeneralized incomplete gamma function.Gamma function.Incomplete gamma function.Generalized incomplete gamma function.static ApfloatApfloatMath.gegenbauerC(Apfloat ν, Apfloat x) Renormalized Gegenbauer function.static ApfloatApfloatMath.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 ApfloatApfloatMath.harmonicNumber(Apfloat x) Harmonic number.static ApfloatApfloatMath.harmonicNumber(Apfloat x, Apfloat r) Generalized harmonic number.FixedPrecisionApfloatHelper.harmonicNumber(Apfloat x) Harmonic number.FixedPrecisionApfloatHelper.harmonicNumber(Apfloat x, Apfloat r) Generalized harmonic number.static ApfloatHermite function.Hermite function.static ApfloatApfloatMath.hypergeometric0F1(Apfloat a, Apfloat x) Confluent hypergeometric function 0F1.FixedPrecisionApfloatHelper.hypergeometric0F1(Apfloat a, Apfloat x) Confluent hypergeometric function 0F1.static ApfloatApfloatMath.hypergeometric0F1Regularized(Apfloat a, Apfloat x) Regularized confluent hypergeometric function 0F̃1.FixedPrecisionApfloatHelper.hypergeometric0F1Regularized(Apfloat a, Apfloat x) Regularized confluent hypergeometric function 0F̃1.static ApfloatApfloatMath.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 ApfloatApfloatMath.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 ApfloatApfloatMath.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 ApfloatApfloatMath.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 ApfloatApfloatMath.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 ApfloatApfloatMath.inverseErf(Apfloat x) Inverse error function.FixedPrecisionApfloatHelper.inverseErf(Apfloat x) Inverse error function.static ApfloatApfloatMath.inverseErfc(Apfloat x) Inverse complementary error function.FixedPrecisionApfloatHelper.inverseErfc(Apfloat x) Inverse complementary error function.static ApfloatApfloatMath.inverseRoot(Apfloat x, long n) Inverse positive integer root.static ApfloatApfloatMath.inverseRoot(Apfloat x, long n, long targetPrecision) Inverse positive integer root.static ApfloatApfloatMath.inverseRoot(Apfloat x, long n, long targetPrecision, Apfloat initialGuess) Inverse positive integer root.static ApfloatApfloatMath.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 booleanprivate static Apfloatstatic ApfloatJacobi function.Jacobi function.static ApfloatLaguerre function.static ApfloatGeneralized Laguerre function.Laguerre function.Generalized Laguerre function.private static ApfloatApfloatMath.lastIterationExtendPrecision(int iterations, int precisingIteration, Apfloat x) static ApfloatLegendre function.static ApfloatAssociated Legendre function of the first kind.Legendre function.Associated Legendre function of the first kind.static ApfloatLegendre function of the second kind.static ApfloatAssociated Legendre function of the second kind.Legendre function of the second kind.Associated Legendre function of the second kind.static ApfloatApfloatHelper.limitPrecision(Apfloat x, long precision) static ApfloatNatural logarithm.private static Apfloatstatic ApfloatLogarithm in arbitrary base.Natural logarithm.Logarithm in specified base.static ApfloatLogarithm of the gamma function.Logarithm of the gamma function.static ApfloatApfloatMath.logIntegral(Apfloat x) Logarithmic integral.FixedPrecisionApfloatHelper.logIntegral(Apfloat x) Logarithmic integral.static ApfloatApfloatMath.logisticSigmoid(Apfloat x) Logistic sigmoid.FixedPrecisionApfloatHelper.logisticSigmoid(Apfloat x) Logistic sigmoid.static ApfloatReturns the greater of the two values.Maximum value.static ApfloatReturns 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 ApintApintMath.modMultiply(Apint x1, Apint x2, Apint y, Apfloat inverseY) Multiplies two apfloats.Multiplication.static ApfloatApfloatMath.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 ApfloatApfloatMath.multiplyAddOrSubtract(Apfloat a, Apfloat b, Apfloat c, Apfloat d, boolean subtract) static ApfloatApfloatMath.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 ApfloatDeprecated.UseApfloat.negate().Negation.static ApfloatReturns 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 ApfloatReturns 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 ApfloatApfloatMath.nextInDirection(Apfloat x, int direction) static ApfloatReturns 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 ApfloatApfloatMath.pochhammer(Apfloat x, Apfloat n) Pochhammer symbol.FixedPrecisionApfloatHelper.pochhammer(Apfloat x, Apfloat n) Pochhammer symbol.static ApfloatPolygamma function.Polygamma function.static ApfloatPolylogarithm.Polylogarithm.static ApfloatInteger power.static ApfloatArbitrary power.Integer power.Power.booleanApfloat.preferCompare(Apfloat x) Tests if the comparison withequalsandcompareToshould be done in the opposite order.booleanAprational.preferCompare(Apfloat x) static ApfloatProduct of numbers.Product.private Apcomplexprivate static Apfloatstatic ApfloatApfloatHelper.reducePrecision(Apfloat x) static ApfloatApfloatHelper.reducePrecision(Apfloat x, long extraPrecision) static ApfloatPositive integer root.Root.static ApfloatApfloatMath.round(Apfloat x, long precision, RoundingMode roundingMode) Deprecated.FixedPrecisionApfloatHelper.round(Apfloat x, RoundingMode roundingMode) Deprecated.static ApintApfloatMath.roundToInteger(Apfloat x, RoundingMode roundingMode) Roundsxto integer using the specified rounding mode.FixedPrecisionApfloatHelper.roundToInteger(Apfloat x, RoundingMode roundingMode) Round to integer with specified rounding mode.static ApintRoundingHelper.roundToInteger(Apfloat x, RoundingMode roundingMode) static ApfloatApfloatMath.roundToMultiple(Apfloat x, Apfloat y, RoundingMode roundingMode) Roundsxto the nearest multiple ofyusing the specified rounding mode.FixedPrecisionApfloatHelper.roundToMultiple(Apfloat x, Apfloat y, RoundingMode roundingMode) Round to multiple with specified rounding mode.static ApfloatRoundingHelper.roundToMultiple(Apfloat x, Apfloat y, RoundingMode roundingMode) static ApfloatApfloatMath.roundToPlaces(Apfloat x, long places, RoundingMode roundingMode) Roundsxto 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 ApfloatRoundingHelper.roundToPlaces(Apfloat x, long places, RoundingMode roundingMode) static ApfloatApfloatMath.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 ApfloatRoundingHelper.roundToPrecision(Apfloat x, long precision, RoundingMode roundingMode) static ApfloatMultiply by a power of the radix.Move the radix point.voidApfloatMath.ApfloatHolder.setApfloat(Apfloat apfloat) private void(package private) ApfloatFixedPrecisionApcomplexHelper.setErfPrecision(Apfloat x) (package private) ApfloatFixedPrecisionApcomplexHelper.setExponentialPrecision(Apfloat x) (package private) ApfloatFixedPrecisionApcomplexHelper.setGammaPrecision(Apfloat x) private voidAprational.setInverseDen(Apfloat inverseDen) (package private) ApfloatFixedPrecisionApcomplexHelper.setLogarithmicPrecision(Apfloat x) private ApfloatFixedPrecisionApfloatHelper.setPrecision(Apfloat x) private Apfloat[]FixedPrecisionApfloatHelper.setPrecision(Apfloat[] x) (package private) ApfloatFixedPrecisionApcomplexHelper.setTrigonometricPrecision(Apfloat x) (package private) ApfloatFixedPrecisionApcomplexHelper.setZetaPrecision(Apfloat x) static ApfloatSine.Sine.static ApfloatSinc.Sinc.static ApfloatHyperbolic sine.Hyperbolic sine.static ApfloatApfloatMath.sinhIntegral(Apfloat x) Hyperbolic sine integral.FixedPrecisionApfloatHelper.sinhIntegral(Apfloat x) Hyperbolic sine integral.static ApfloatApfloatMath.sinIntegral(Apfloat x) Sine integral.FixedPrecisionApfloatHelper.sinIntegral(Apfloat x) Sine integral.private static ApfloatRadixConversionHelper.split(Apfloat x, int toRadix, long size, long split, RadixConversionHelper.RadixPowerList radixPowerList) static ApfloatSquare root.Square root.Subtracts two apfloats.Subtraction.static ApfloatSum of numbers.Sum.static ApfloatTangent.Tangent.static ApfloatHyperbolic tangent.private static ApfloatHyperbolic tangent.(package private) static ApfloatApfloatMath.tanhFixedPrecision(Apfloat x) booleanTests two apfloat numbers for equality.booleanbooleanstatic ApfloatConverts an angle measured in radians to degrees.Convert radians to degrees.static ApfloatConverts an angle measured in degrees to radians.Convert degrees to radians.static Apfloatprivate static ApfloatRadixConversionHelper.toRadixFractionalPart(Apfloat x, int toRadix, long size, long scale, RadixConversionHelper.RadixPowerList radixPowerList) private static ApfloatRadixConversionHelper.toRadixIntegerPart(Apfloat x, int toRadix, long size, long scale, RadixConversionHelper.RadixPowerList radixPowerList) private static ApfloatRadixConversionHelper.toRadixNormalizedPart(Apfloat x, int toRadix, long size, RadixConversionHelper.RadixPowerList radixPowerList) static ApintTruncates fractional part.Truncate fractional part.static ApfloatReturns the unit in the last place of the argument, considering the scale and precision.private static ApfloatUnit in the last place.(package private) ApfloatReturns the value with the specified precision.static ApfloatLambert W function.Lambert W function.static Apfloatstatic ApfloatRiemann zeta function.static ApfloatHurwitz zeta function.Riemann zeta function.Hurwitz zeta function.Method parameters in org.apfloat with type arguments of type ApfloatModifier and TypeMethodDescription(package private) static Apfloatprivate static ApfloatApfloatMath.agmConsume(Consumer<Apfloat> consumer, Apfloat a, Apfloat c2, long workingPrecision) static ApfloatRootFinder.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 ApfloatRootFinder.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 ApfloatRootFinder.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 ApfloatRootFinder.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 ApfloatRootFinder.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)privateEulerHelper(Apfloat n2, long precision, int radix) -
Uses of Apfloat in org.apfloat.samples
Classes in org.apfloat.samples that implement interfaces with type arguments of type ApfloatModifier and TypeClassDescriptionstatic classCalculates pi using the Borweins' quartic algorithm.static classBasic class for calculating pi using the Chudnovskys' binary splitting algorithm.static classCalculates pi using the Gauss-Legendre algorithm.static classBasic class for calculating pi using the Ramanujan binary splitting algorithm.Fields in org.apfloat.samples declared as ApfloatModifier and TypeFieldDescriptionprivate final ApfloatPi.ChudnovskyBinarySplittingSeries.Aprivate final ApfloatPi.RamanujanBinarySplittingSeries.Aprivate ApfloatApfloatHolder.apfloatprivate final ApfloatPi.ChudnovskyBinarySplittingSeries.Bprivate final ApfloatPi.RamanujanBinarySplittingSeries.Bprivate final ApfloatPi.ChudnovskyBinarySplittingSeries.FIVEprivate final ApfloatPi.RamanujanBinarySplittingSeries.FOURprivate final ApfloatPi.ChudnovskyBinarySplittingSeries.Jprivate final ApfloatPi.RamanujanBinarySplittingSeries.Jprivate final ApfloatPi.ChudnovskyBinarySplittingSeries.ONEprivate final ApfloatPi.RamanujanBinarySplittingSeries.ONEprivate final ApfloatPi.ChudnovskyBinarySplittingSeries.SIXprivate final ApfloatPi.RamanujanBinarySplittingSeries.THREEprivate final ApfloatPi.ChudnovskyBinarySplittingSeries.TWOprivate final ApfloatPi.RamanujanBinarySplittingSeries.TWOMethods in org.apfloat.samples that return ApfloatModifier and TypeMethodDescriptionprivate ApfloatPi.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 ApfloatPiDistributed.DistributedBinarySplittingPiCalculator.executeAdd(PiDistributed.Node node, Apfloat x, Apfloat y) ApfloatHolder.getApfloat()Return the apfloat contained in this bean.private ApfloatPi.BinarySplittingPiCalculator.p(long n) Pi.BinarySplittingSeries.p(long n) Binary splitting term.Pi.ChudnovskyBinarySplittingSeries.p(long n) Pi.RamanujanBinarySplittingSeries.p(long n) private ApfloatPi.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 ApfloatPiDistributed.DistributedBinarySplittingPiCalculator.executeAdd(PiDistributed.Node node, Apfloat x, Apfloat y) voidApfloatHolder.setApfloat(Apfloat apfloat) Set the apfloat contained in this bean.Method parameters in org.apfloat.samples with type arguments of type ApfloatModifier and TypeMethodDescriptionstatic voidExecute 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.
Apfloat.negate().