Uses of Class
org.apfloat.Apfloat
-
Packages that use Apfloat Package Description org.apfloat The apfloat Application Programming Interface (API).org.apfloat.samples Sample applications demonstrating apfloat use. -
-
Uses of Apfloat in org.apfloat
Classes in org.apfloat with type parameters of type Apfloat Modifier and Type Class Description private static class
ContinuedFractionHelper.ContinuedFractionIterator<T extends Apfloat>
Subclasses of Apfloat in org.apfloat Modifier and Type Class Description class
Apint
Arbitrary precision integer class.class
Aprational
Arbitrary precision rational number class.Fields in org.apfloat declared as Apfloat Modifier and Type Field Description private Apfloat
ApfloatMath.PiCalculator. A
private Apfloat
ApfloatMath.ApfloatHolder. apfloat
private Apfloat
ApfloatMath.PiCalculator. B
private Apfloat
LambertWHelper. e
private T
ContinuedFractionHelper.ContinuedFractionIterator. f
private Apfloat
ApfloatMath.PiCalculator. FIVE
private Apfloat
Apcomplex. imag
private Apfloat
ApfloatMath.PiCalculator. J
private Apfloat
LambertWHelper. minusOnePerE
private Apfloat
EulerHelper. n2
private Apfloat
ZetaHelper. NN
private Apfloat
ApfloatMath.PiCalculator. ONE
private Apfloat
ZetaHelper. pi
private Apfloat
Apcomplex. real
private Apfloat
ApfloatMath.PiCalculator. SIX
private 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 Apfloat Modifier and Type Field Description private java.lang.ref.SoftReference<Apfloat>
Aprational. approx
private java.lang.ref.SoftReference<Apfloat>
Aprational. inverseDen
private java.util.List<Apfloat>
RadixConversionHelper.RadixPowerList. list
private static java.util.Map<java.lang.Integer,Apfloat>
ApfloatMath. nextGaussian
private static java.util.Map<java.lang.Integer,Apfloat>
ApfloatMath. radixLog
private static java.util.Map<java.lang.Integer,Apfloat>
ApfloatMath. radixLogPi
private static java.util.Map<java.lang.Integer,Apfloat>
ApfloatMath. radixPi
private static java.util.Map<java.lang.Integer,Apfloat>
ApfloatMath. radixPiInverseRoot
private static java.util.Map<java.lang.Integer,Apfloat>
ApfloatMath. radixPiP
private static java.util.Map<java.lang.Integer,Apfloat>
ApfloatMath. radixPiQ
private static java.util.Map<java.lang.Integer,Apfloat>
ApfloatMath. radixPiT
private static java.util.Map<java.lang.Integer,Apfloat>
ApfloatMath. SHUTDOWN_MAP
Methods in org.apfloat that return Apfloat Modifier and Type Method Description private Apfloat
ApfloatMath.PiCalculator. a(long n)
static Apfloat
ApcomplexMath. abs(Apcomplex z)
Absolute value.(package private) Apfloat
Apfloat. abs()
static Apfloat
ApfloatMath. abs(Apfloat x)
Absolute value.Apfloat
FixedPrecisionApcomplexHelper. abs(Apcomplex z)
Absolute value.Apfloat
FixedPrecisionApfloatHelper. abs(Apfloat x)
Absolute value.private static Apfloat
IncompleteGammaHelper. abs(Apcomplex z)
static Apfloat
ApfloatMath. acos(Apfloat x)
Inverse cosine.(package private) static Apfloat
ApfloatMath. acos(Apfloat x, long precision)
Apfloat
FixedPrecisionApfloatHelper. acos(Apfloat x)
Arc cosine.static Apfloat
ApfloatMath. acosh(Apfloat x)
Inverse hyperbolic cosine.Apfloat
FixedPrecisionApfloatHelper. acosh(Apfloat x)
Hyperbolic arc cosine.Apfloat
Apfloat. add(Apfloat x)
Adds two apfloats.Apfloat
FixedPrecisionApfloatHelper. add(Apfloat x, Apfloat y)
Addition.private Apfloat
Apfloat. addOrSubtract(Apfloat x, boolean subtract)
private Apfloat
HypergeometricHelper. adjustOffset(Apfloat x, Apfloat offset)
static Apfloat
ApfloatMath. agm(Apfloat a, Apfloat b)
Arithmetic-geometric mean.(package private) static Apfloat
ApfloatMath. agm(Apfloat a, Apfloat b, java.util.function.Consumer<Apfloat> consumer)
Apfloat
FixedPrecisionApfloatHelper. agm(Apfloat a, Apfloat b)
Arithmetic-geometric mean.private static Apfloat
ApfloatMath. agmConsume(java.util.function.Consumer<Apfloat> consumer, Apfloat a, Apfloat c2, long workingPrecision)
static Apfloat
ApfloatMath. airyAi(Apfloat x)
Airy function Ai.(package private) static Apfloat
ApfloatMath. airyAi(Apfloat x, long precision)
Apfloat
FixedPrecisionApfloatHelper. airyAi(Apfloat x)
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)
Apfloat
FixedPrecisionApfloatHelper. airyAiPrime(Apfloat x)
Derivative of the Airy function Ai.static Apfloat
ApfloatMath. airyBi(Apfloat x)
Airy function Bi.(package private) static Apfloat
ApfloatMath. airyBi(Apfloat x, long precision)
Apfloat
FixedPrecisionApfloatHelper. airyBi(Apfloat x)
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)
Apfloat
FixedPrecisionApfloatHelper. airyBiPrime(Apfloat x)
Derivative of the Airy function Bi.static Apfloat
ApcomplexMath. arg(Apcomplex z)
Angle of the complex vector in the complex plane.Apfloat
FixedPrecisionApcomplexHelper. arg(Apcomplex z)
Complex angle.static Apfloat
ApfloatMath. asin(Apfloat x)
Inverse sine.Apfloat
FixedPrecisionApfloatHelper. asin(Apfloat x)
Arc sine.static Apfloat
ApfloatMath. asinh(Apfloat x)
Inverse hyperbolic sine.Apfloat
FixedPrecisionApfloatHelper. asinh(Apfloat x)
Hyperbolic arc sine.static Apfloat
ApfloatMath. atan(Apfloat x)
Inverse tangent.Apfloat
FixedPrecisionApfloatHelper. atan(Apfloat x)
Arc tangent.static Apfloat
ApfloatMath. atan2(Apfloat y, Apfloat x)
Converts cartesian coordinates to polar coordinates.Apfloat
FixedPrecisionApfloatHelper. atan2(Apfloat x, Apfloat y)
Angle of point.static Apfloat
ApfloatMath. atanh(Apfloat x)
Inverse hyperbolic tangent.Apfloat
FixedPrecisionApfloatHelper. atanh(Apfloat x)
Hyperbolic arc tangent.Apfloat
FixedPrecisionApcomplexHelper. bernoulli(long n)
Bernoulli number.Apfloat
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)
Apfloat
FixedPrecisionApfloatHelper. bernoulliB(long n, Apfloat x)
Bernoulli polynomial.static Apfloat
ApfloatMath. besselI(Apfloat ν, Apfloat x)
Modified Bessel function of the first kind.Apfloat
FixedPrecisionApfloatHelper. besselI(Apfloat ν, Apfloat x)
Modified Bessel function of the first kind.static Apfloat
ApfloatMath. besselJ(Apfloat ν, Apfloat x)
Bessel function of the first kind.Apfloat
FixedPrecisionApfloatHelper. besselJ(Apfloat ν, Apfloat x)
Bessel function of the first kind.static Apfloat
ApfloatMath. besselK(Apfloat ν, Apfloat x)
Modified Bessel function of the second kind.Apfloat
FixedPrecisionApfloatHelper. besselK(Apfloat ν, Apfloat x)
Modified Bessel function of the second kind.static Apfloat
ApfloatMath. besselY(Apfloat ν, Apfloat x)
Bessel function of the second kind.Apfloat
FixedPrecisionApfloatHelper. besselY(Apfloat ν, Apfloat x)
Bessel function of the second kind.static Apfloat
ApfloatMath. beta(Apfloat a, Apfloat b)
Beta function.static Apfloat
ApfloatMath. beta(Apfloat x, Apfloat a, Apfloat b)
Incomplete beta function.static Apfloat
ApfloatMath. beta(Apfloat x1, Apfloat x2, Apfloat a, Apfloat b)
Generalized incomplete beta function.Apfloat
FixedPrecisionApfloatHelper. beta(Apfloat a, Apfloat b)
Beta function.Apfloat
FixedPrecisionApfloatHelper. beta(Apfloat x, Apfloat a, Apfloat b)
Incomplete beta function.Apfloat
FixedPrecisionApfloatHelper. beta(Apfloat x1, Apfloat x2, Apfloat a, Apfloat b)
Generalized incomplete beta function.static Apfloat
ApfloatMath. binomial(Apfloat n, Apfloat k)
Binomial coefficient.Apfloat
FixedPrecisionApcomplexHelper. binomial(long n, long k)
Binomial coefficient.Apfloat
FixedPrecisionApcomplexHelper. binomial(long n, long k, int radix)
Binomial coefficient.Apfloat
FixedPrecisionApfloatHelper. binomial(Apfloat n, Apfloat k)
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.Apfloat
FixedPrecisionApcomplexHelper. catalan()
Catalan's constant G.Apfloat
FixedPrecisionApcomplexHelper. catalan(int radix)
Catalan's constant G.static Apfloat
ApfloatMath. cbrt(Apfloat x)
Cube root.Apfloat
FixedPrecisionApfloatHelper. cbrt(Apfloat x)
Cube root.Apfloat
FixedPrecisionApfloatHelper. ceil(Apfloat x)
Ceiling function.static Apfloat
ApfloatMath. chebyshevT(Apfloat ν, Apfloat x)
Chebyshev function of the first kind.Apfloat
FixedPrecisionApfloatHelper. chebyshevT(Apfloat ν, Apfloat x)
Chebyshev function of the first kind.static Apfloat
ApfloatMath. chebyshevU(Apfloat ν, Apfloat x)
Chebyshev function of the second kind.Apfloat
FixedPrecisionApfloatHelper. chebyshevU(Apfloat ν, Apfloat x)
Chebyshev function of the second kind.static Apfloat
ApfloatHelper. checkPow(Apfloat x, Apfloat y, long targetPrecision)
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
ApfloatMath. copySign(Apfloat x, Apfloat y)
Copy sign from one argument to another.Apfloat
FixedPrecisionApfloatHelper. copySign(Apfloat x, Apfloat y)
Copies the sign from one number to another.static Apfloat
ApfloatMath. cos(Apfloat x)
Cosine.Apfloat
FixedPrecisionApfloatHelper. cos(Apfloat x)
Cosine.static Apfloat
ApfloatMath. cosh(Apfloat x)
Hyperbolic cosine.Apfloat
FixedPrecisionApfloatHelper. cosh(Apfloat x)
Hyperbolic cosine.static Apfloat
ApfloatMath. coshIntegral(Apfloat x)
Hyperbolic cosine integral.Apfloat
FixedPrecisionApfloatHelper. coshIntegral(Apfloat x)
Hyperbolic cosine integral.static Apfloat
ApfloatMath. cosIntegral(Apfloat x)
Cosine integral.Apfloat
FixedPrecisionApfloatHelper. cosIntegral(Apfloat x)
Cosine integral.static Apfloat
ApfloatMath. digamma(Apfloat x)
Digamma function.Apfloat
FixedPrecisionApfloatHelper. digamma(Apfloat x)
Digamma function.Apfloat
Apfloat. divide(Apfloat x)
Divides two apfloats.Apfloat
FixedPrecisionApfloatHelper. divide(Apfloat x, Apfloat y)
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)
Apfloat
FixedPrecisionApfloatHelper. doubleFactorial(long n)
Double factorial.Apfloat
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)
Apfloat
FixedPrecisionApcomplexHelper. e()
e.Apfloat
FixedPrecisionApcomplexHelper. e(int radix)
e.private Apfloat
LambertWHelper. e(long precision)
static Apfloat
ApfloatMath. ellipticE(Apfloat x)
Complete elliptic integral of the second kind.(package private) static Apfloat
ApfloatMath. ellipticE(Apfloat x, long precision)
Apfloat
FixedPrecisionApfloatHelper. ellipticE(Apfloat x)
Complete elliptic integral of the second kind.static Apfloat
ApfloatMath. ellipticK(Apfloat x)
Complete elliptic integral of the first kind.(package private) static Apfloat
ApfloatMath. ellipticK(Apfloat x, long precision)
Apfloat
FixedPrecisionApfloatHelper. ellipticK(Apfloat x)
Complete elliptic integral of the first kind.private Apfloat
Aprational. ensureApprox(long precision)
static Apfloat
ApfloatHelper. ensurePrecision(Apfloat x, long precision)
static Apfloat
ApfloatMath. erf(Apfloat x)
Error function.Apfloat
FixedPrecisionApfloatHelper. erf(Apfloat x)
Error function.static Apfloat
ApfloatMath. erfc(Apfloat x)
Complementary error function.Apfloat
FixedPrecisionApfloatHelper. erfc(Apfloat x)
Complementary error function.(package private) static Apfloat
ApfloatMath. erfcFixedPrecision(Apfloat x)
(package private) static Apfloat
ApfloatMath. erfFixedPrecision(Apfloat x)
static Apfloat
ApfloatMath. erfi(Apfloat x)
Imaginary error function.Apfloat
FixedPrecisionApfloatHelper. erfi(Apfloat x)
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)
Apfloat
FixedPrecisionApcomplexHelper. euler()
γ, the Euler-Mascheroni constant.Apfloat
FixedPrecisionApcomplexHelper. euler(int radix)
γ, the Euler-Mascheroni constant.static Apfloat
ApfloatMath. eulerE(long n, Apfloat x)
Euler polynomial.(package private) static Apfloat
ApfloatMath. eulerE(long n, Apfloat x, long precision)
Apfloat
FixedPrecisionApfloatHelper. eulerE(long n, Apfloat x)
Euler polynomial.(package private) static Apfloat
ApfloatMath. eulerSmall(long precision, int radix)
static Apfloat
ApfloatMath. exp(Apfloat x)
Exponent function.Apfloat
FixedPrecisionApfloatHelper. exp(Apfloat x)
Exponential function.static Apfloat
ApfloatMath. expIntegralE(Apfloat ν, Apfloat x)
Exponential integral E.Apfloat
FixedPrecisionApfloatHelper. expIntegralE(Apfloat ν, Apfloat x)
Exponential integral E.static Apfloat
ApfloatMath. expIntegralEi(Apfloat x)
Exponential integral Ei.Apfloat
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)
Apfloat
FixedPrecisionApfloatHelper. factorial(long n)
Factorial.Apfloat
FixedPrecisionApfloatHelper. factorial(long n, int radix)
Factorial.static Apfloat
ApfloatMath. fibonacci(Apfloat ν, Apfloat x)
Fibonacci function.Apfloat
FixedPrecisionApfloatHelper. fibonacci(Apfloat ν, Apfloat x)
Fibonacci function.static Apfloat
RootFinder. findRoot(java.util.function.Function<Apfloat,Apfloat> f, java.util.function.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.Apfloat
FixedPrecisionApfloatHelper. floor(Apfloat x)
Floor function.static Apfloat
ApfloatMath. fmod(Apfloat x, Apfloat y)
Returns x modulo y.Apfloat
FixedPrecisionApfloatHelper. fmod(Apfloat x, Apfloat y)
Modulus.Apfloat
Apfloat. frac()
Returns the fractional part.static Apfloat
ApfloatMath. frac(Apfloat x)
Extracts fractional part.Apfloat
FixedPrecisionApfloatHelper. frac(Apfloat x)
Extract fractional part.static Apfloat
ApfloatMath. fresnelC(Apfloat x)
Fresnel integral C.Apfloat
FixedPrecisionApfloatHelper. fresnelC(Apfloat x)
Fresnel integral C.static Apfloat
ApfloatMath. fresnelS(Apfloat x)
Fresnel integral S.Apfloat
FixedPrecisionApfloatHelper. fresnelS(Apfloat x)
Fresnel integral S.static Apfloat
ApfloatMath. gamma(Apfloat x)
Gamma function.static Apfloat
ApfloatMath. gamma(Apfloat a, Apfloat x)
Incomplete gamma function.static Apfloat
ApfloatMath. gamma(Apfloat a, Apfloat x0, Apfloat x1)
Generalized incomplete gamma function.Apfloat
FixedPrecisionApfloatHelper. gamma(Apfloat x)
Gamma function.Apfloat
FixedPrecisionApfloatHelper. gamma(Apfloat a, Apfloat x)
Incomplete gamma function.Apfloat
FixedPrecisionApfloatHelper. gamma(Apfloat a, Apfloat x0, Apfloat x1)
Generalized incomplete gamma function.static Apfloat
ApfloatMath. gegenbauerC(Apfloat ν, Apfloat x)
Renormalized Gegenbauer function.static Apfloat
ApfloatMath. gegenbauerC(Apfloat ν, Apfloat λ, Apfloat x)
Gegenbauer function.Apfloat
FixedPrecisionApfloatHelper. gegenbauerC(Apfloat ν, Apfloat x)
Renormalized Gegenbauer function.Apfloat
FixedPrecisionApfloatHelper. gegenbauerC(Apfloat ν, Apfloat λ, Apfloat x)
Gegenbauer function.private Apfloat
RadixConversionHelper.RadixPowerList. get(int index)
Apfloat
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.Apfloat
FixedPrecisionApcomplexHelper. glaisher()
The Glaisher-Kinkelin constant A.Apfloat
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.Apfloat
FixedPrecisionApfloatHelper. harmonicNumber(Apfloat x)
Harmonic number.Apfloat
FixedPrecisionApfloatHelper. harmonicNumber(Apfloat x, Apfloat r)
Generalized harmonic number.static Apfloat
ApfloatMath. hermiteH(Apfloat ν, Apfloat x)
Hermite function.Apfloat
FixedPrecisionApfloatHelper. hermiteH(Apfloat ν, Apfloat x)
Hermite function.static Apfloat
ApfloatMath. hypergeometric0F1(Apfloat a, Apfloat x)
Confluent hypergeometric function 0F1.Apfloat
FixedPrecisionApfloatHelper. hypergeometric0F1(Apfloat a, Apfloat x)
Confluent hypergeometric function 0F1.static Apfloat
ApfloatMath. hypergeometric0F1Regularized(Apfloat a, Apfloat x)
Regularized confluent hypergeometric function 0F̃1.Apfloat
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.Apfloat
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.Apfloat
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.Apfloat
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.Apfloat
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.Apfloat
FixedPrecisionApfloatHelper. hypergeometricU(Apfloat a, Apfloat b, Apfloat x)
Tricomi's confluent hypergeometric function U.Apfloat
Apcomplex. imag()
Returns the imaginary part of this apcomplex.Apfloat
Apfloat. imag()
Imaginary part of this apfloat.Apfloat
FixedPrecisionApcomplexHelper. imag(Apcomplex z)
Imaginary part.static Apfloat
ApfloatMath. inverseErf(Apfloat x)
Inverse error function.Apfloat
FixedPrecisionApfloatHelper. inverseErf(Apfloat x)
Inverse error function.static Apfloat
ApfloatMath. inverseErfc(Apfloat x)
Inverse complementary error function.Apfloat
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.Apfloat
FixedPrecisionApfloatHelper. inverseRoot(Apfloat x, long n)
Inverse root.private static Apfloat
HurwitzZetaHelper. J(Apfloat A, Apfloat B)
static Apfloat
ApfloatMath. jacobiP(Apfloat ν, Apfloat a, Apfloat b, Apfloat x)
Jacobi function.Apfloat
FixedPrecisionApfloatHelper. jacobiP(Apfloat ν, Apfloat a, Apfloat b, Apfloat x)
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.Apfloat
FixedPrecisionApcomplexHelper. khinchin()
Khinchin's constant K.Apfloat
FixedPrecisionApcomplexHelper. khinchin(int radix)
Khinchin's constant K.static Apfloat
ApfloatMath. laguerreL(Apfloat ν, Apfloat x)
Laguerre function.static Apfloat
ApfloatMath. laguerreL(Apfloat ν, Apfloat λ, Apfloat x)
Generalized Laguerre function.Apfloat
FixedPrecisionApfloatHelper. laguerreL(Apfloat ν, Apfloat x)
Laguerre function.Apfloat
FixedPrecisionApfloatHelper. laguerreL(Apfloat ν, Apfloat λ, Apfloat x)
Generalized Laguerre function.private static Apfloat
ApfloatMath. lastIterationExtendPrecision(int iterations, int precisingIteration, Apfloat x)
static Apfloat
ApfloatMath. legendreP(Apfloat ν, Apfloat x)
Legendre function.static Apfloat
ApfloatMath. legendreP(Apfloat ν, Apfloat μ, Apfloat x)
Associated Legendre function of the first kind.Apfloat
FixedPrecisionApfloatHelper. legendreP(Apfloat ν, Apfloat x)
Legendre function.Apfloat
FixedPrecisionApfloatHelper. legendreP(Apfloat ν, Apfloat μ, Apfloat x)
Associated Legendre function of the first kind.static Apfloat
ApfloatMath. legendreQ(Apfloat ν, Apfloat x)
Legendre function of the second kind.static Apfloat
ApfloatMath. legendreQ(Apfloat ν, Apfloat μ, Apfloat x)
Associated Legendre function of the second kind.Apfloat
FixedPrecisionApfloatHelper. legendreQ(Apfloat ν, Apfloat x)
Legendre function of the second kind.Apfloat
FixedPrecisionApfloatHelper. legendreQ(Apfloat ν, Apfloat μ, Apfloat x)
Associated Legendre function of the second kind.static Apfloat
ApfloatHelper. limitPrecision(Apfloat x, long precision)
static Apfloat
ApfloatMath. log(Apfloat x)
Natural logarithm.private static Apfloat
ApfloatMath. log(Apfloat x, boolean multiplyByPi)
static Apfloat
ApfloatMath. log(Apfloat x, Apfloat b)
Logarithm in arbitrary base.Apfloat
FixedPrecisionApfloatHelper. log(Apfloat x)
Natural logarithm.Apfloat
FixedPrecisionApfloatHelper. log(Apfloat x, Apfloat b)
Logarithm in specified base.static Apfloat
ApfloatMath. logGamma(Apfloat x)
Logarithm of the gamma function.Apfloat
FixedPrecisionApfloatHelper. logGamma(Apfloat x)
Logarithm of the gamma function.static Apfloat
ApfloatMath. logIntegral(Apfloat x)
Logarithmic integral.Apfloat
FixedPrecisionApfloatHelper. logIntegral(Apfloat x)
Logarithmic integral.static Apfloat
ApfloatMath. logisticSigmoid(Apfloat x)
Logistic sigmoid.Apfloat
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)
Apfloat
FixedPrecisionApfloatHelper. logRadix(int radix)
Logarithm.static Apfloat
ApfloatMath. max(Apfloat x, Apfloat y)
Returns the greater of the two values.Apfloat
FixedPrecisionApfloatHelper. max(Apfloat x, Apfloat y)
Maximum value.static Apfloat
HypergeometricHelper. maxNonPositiveInteger(Apcomplex... a)
static Apfloat
ApfloatMath. min(Apfloat x, Apfloat y)
Returns the smaller of the two values.Apfloat
FixedPrecisionApfloatHelper. min(Apfloat x, Apfloat y)
Minimum value.Apfloat
Apfloat. mod(Apfloat x)
Calculates the remainder when divided by an apfloat.Apfloat
FixedPrecisionApfloatHelper. mod(Apfloat x, Apfloat y)
Modulus.static Apfloat[]
ApfloatMath. modf(Apfloat x)
Split to integer and fractional parts.Apfloat[]
FixedPrecisionApfloatHelper. modf(Apfloat x)
Split to integer and fractional parts.Apfloat
Apfloat. multiply(Apfloat x)
Multiplies two apfloats.Apfloat
FixedPrecisionApfloatHelper. multiply(Apfloat x, Apfloat y)
Multiplication.static Apfloat
ApfloatMath. multiplyAdd(Apfloat a, Apfloat b, Apfloat c, Apfloat d)
Fused multiply-add.Apfloat
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.Apfloat
FixedPrecisionApfloatHelper. multiplySubtract(Apfloat a, Apfloat b, Apfloat c, Apfloat d)
Fused multiply-subtract.Apfloat
Apfloat. negate()
Negative value.static Apfloat
ApfloatMath. negate(Apfloat x)
Deprecated.Usenegate()
.Apfloat
FixedPrecisionApfloatHelper. negate(Apfloat x)
Negation.private Apfloat
LambertWHelper. negativeRealSeries()
static Apfloat
ApfloatMath. nextAfter(Apfloat start, Apfloat direction)
Returns the number adjacent to the first argument in the direction of the second argument, considering the scale and precision of the first argument.Apfloat
FixedPrecisionApfloatHelper. nextAfter(Apfloat x, Apfloat y)
The number adjacent to the first argument in the direction of the second argument.static Apfloat
ApfloatMath. nextDown(Apfloat x)
Returns the number adjacent to the argument in the direction of negative infinity, considering the scale and precision of the argument.Apfloat
FixedPrecisionApfloatHelper. nextDown(Apfloat x)
The adjacent value closer to negative infinity.private static Apfloat
ApfloatMath. nextInDirection(Apfloat x, int direction)
static Apfloat
ApfloatMath. nextUp(Apfloat x)
Returns the number adjacent to the argument in the direction of positive infinity, considering the scale and precision of the argument.Apfloat
FixedPrecisionApfloatHelper. nextUp(Apfloat x)
The adjacent value closer to positive infinity.static Apfloat
ApcomplexMath. norm(Apcomplex z)
Norm.Apfloat
FixedPrecisionApcomplexHelper. norm(Apcomplex z)
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)
Apfloat
FixedPrecisionApfloatHelper. pi()
π.Apfloat
FixedPrecisionApfloatHelper. pi(int radix)
π.static Apfloat
ApfloatMath. pochhammer(Apfloat x, Apfloat n)
Pochhammer symbol.Apfloat
FixedPrecisionApfloatHelper. pochhammer(Apfloat x, Apfloat n)
Pochhammer symbol.static Apfloat
ApfloatMath. polygamma(long n, Apfloat x)
Polygamma function.Apfloat
FixedPrecisionApfloatHelper. polygamma(long n, Apfloat x)
Polygamma function.static Apfloat
ApfloatMath. polylog(Apfloat ν, Apfloat x)
Polylogarithm.Apfloat
FixedPrecisionApfloatHelper. polylog(Apfloat ν, Apfloat x)
Polylogarithm.private Apfloat
LambertWHelper. positiveRealSeries()
static Apfloat
ApfloatMath. pow(Apfloat x, long n)
Integer power.static Apfloat
ApfloatMath. pow(Apfloat x, Apfloat y)
Arbitrary power.Apfloat
FixedPrecisionApfloatHelper. pow(Apfloat x, long n)
Integer power.Apfloat
FixedPrecisionApfloatHelper. pow(Apfloat x, Apfloat y)
Power.Apfloat
RadixConversionHelper.RadixPowerList. pow(long n)
Apfloat
Apfloat. precision(long precision)
Returns an apfloat with the same value as this apfloat accurate to the specified precision.static Apfloat
ApfloatMath. product(Apfloat... x)
Product of numbers.Apfloat
FixedPrecisionApfloatHelper. product(Apfloat... x)
Product.private Apfloat
ApfloatMath.PiCalculator. q(long n)
private static Apfloat
HurwitzZetaHelper. R(Apcomplex s, Apcomplex a, Apint N, long M)
static Apfloat
ApfloatMath. random(long digits)
Generates a random number.static Apfloat
ApfloatMath. random(long digits, int radix)
Generates a random number.Apfloat
FixedPrecisionApfloatHelper. random()
Return a uniformly distributed random number0 ≤ x < 1
.Apfloat
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.Apfloat
FixedPrecisionApfloatHelper. randomGaussian()
Return a normally distributed random number with mean 0 and standard deviation 1.Apfloat
FixedPrecisionApfloatHelper. randomGaussian(int radix)
Return a normally distributed random number with mean 0 and standard deviation 1.private static Apfloat
ApfloatMath. rawLog(Apfloat x, boolean multiplyByPi)
Apfloat
Apcomplex. real()
Returns the real part of this apcomplex.Apfloat
Apfloat. real()
Real part of this apfloat.Apfloat
FixedPrecisionApcomplexHelper. real(Apcomplex z)
Real part.Apfloat
LambertWHelper. real()
private Apfloat
LambertWHelper. realSeries(Apcomplex p)
static Apfloat
ApfloatHelper. reducePrecision(Apfloat x)
static Apfloat
ApfloatHelper. reducePrecision(Apfloat x, long extraPrecision)
static Apfloat
ApfloatMath. root(Apfloat x, long n)
Positive integer root.Apfloat
FixedPrecisionApfloatHelper. root(Apfloat x, long n)
Root.static Apfloat
ApfloatMath. round(Apfloat x, long precision, java.math.RoundingMode roundingMode)
Deprecated.static Apfloat
AprationalMath. round(Aprational x, long precision, java.math.RoundingMode roundingMode)
Deprecated.Apfloat
FixedPrecisionApfloatHelper. round(Apfloat x, java.math.RoundingMode roundingMode)
Deprecated.Apfloat
FixedPrecisionApfloatHelper. roundToInteger(Apfloat x, java.math.RoundingMode roundingMode)
Round to integer with specified rounding mode.static Apfloat
ApfloatMath. roundToMultiple(Apfloat x, Apfloat y, java.math.RoundingMode roundingMode)
Roundsx
to the nearest multiple ofy
using the specified rounding mode.Apfloat
FixedPrecisionApfloatHelper. roundToMultiple(Apfloat x, Apfloat y, java.math.RoundingMode roundingMode)
Round to multiple with specified rounding mode.static Apfloat
RoundingHelper. roundToMultiple(Apfloat x, Apfloat y, java.math.RoundingMode roundingMode)
static Apfloat
ApfloatMath. roundToPlaces(Apfloat x, long places, java.math.RoundingMode roundingMode)
Roundsx
to the specified number of places using the specified rounding mode.static Apfloat
AprationalMath. roundToPlaces(Aprational x, long places, java.math.RoundingMode roundingMode)
Roundsx
to the specified number of places using the specified rounding mode.Apfloat
FixedPrecisionApfloatHelper. roundToPlaces(Apfloat x, long places, java.math.RoundingMode roundingMode)
Round to specified number of places with specified rounding mode.static Apfloat
RoundingHelper. roundToPlaces(Apfloat x, long places, java.math.RoundingMode roundingMode)
static Apfloat
ApfloatMath. roundToPrecision(Apfloat x, long precision, java.math.RoundingMode roundingMode)
Rounds the given number to the specified precision with the specified rounding mode.static Apfloat
AprationalMath. roundToPrecision(Aprational x, long precision, java.math.RoundingMode roundingMode)
Rounds the given number to the specified precision with the specified rounding mode.Apfloat
FixedPrecisionApfloatHelper. roundToPrecision(Apfloat x, java.math.RoundingMode roundingMode)
Round to precision with specified rounding mode.static Apfloat
RoundingHelper. roundToPrecision(Apfloat x, long precision, java.math.RoundingMode roundingMode)
(package private) Apfloat
Apfloat. scale(long scale)
static Apfloat
ApfloatMath. scale(Apfloat x, long scale)
Multiply by a power of the radix.Apfloat
FixedPrecisionApfloatHelper. scale(Apfloat x, long scale)
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
ApfloatMath. sin(Apfloat x)
Sine.Apfloat
FixedPrecisionApfloatHelper. sin(Apfloat x)
Sine.static Apfloat
ApfloatMath. sinc(Apfloat x)
Sinc.Apfloat
FixedPrecisionApfloatHelper. sinc(Apfloat x)
Sinc.static Apfloat
ApfloatMath. sinh(Apfloat x)
Hyperbolic sine.Apfloat
FixedPrecisionApfloatHelper. sinh(Apfloat x)
Hyperbolic sine.static Apfloat
ApfloatMath. sinhIntegral(Apfloat x)
Hyperbolic sine integral.Apfloat
FixedPrecisionApfloatHelper. sinhIntegral(Apfloat x)
Hyperbolic sine integral.static Apfloat
ApfloatMath. sinIntegral(Apfloat x)
Sine integral.Apfloat
FixedPrecisionApfloatHelper. sinIntegral(Apfloat x)
Sine integral.private static Apfloat
RadixConversionHelper. split(Apfloat x, int toRadix, long size, long split, RadixConversionHelper.RadixPowerList radixPowerList)
static Apfloat
ApfloatMath. sqrt(Apfloat x)
Square root.Apfloat
FixedPrecisionApfloatHelper. sqrt(Apfloat x)
Square root.Apfloat
Apfloat. subtract(Apfloat x)
Subtracts two apfloats.Apfloat
FixedPrecisionApfloatHelper. subtract(Apfloat x, Apfloat y)
Subtraction.static Apfloat
ApfloatMath. sum(Apfloat... x)
Sum of numbers.Apfloat
FixedPrecisionApfloatHelper. sum(Apfloat... x)
Sum.static Apfloat
ApfloatMath. tan(Apfloat x)
Tangent.Apfloat
FixedPrecisionApfloatHelper. tan(Apfloat x)
Tangent.static Apfloat
ApfloatMath. tanh(Apfloat x)
Hyperbolic tangent.private static Apfloat
ApfloatMath. tanh(Apfloat x, boolean negate)
Apfloat
FixedPrecisionApfloatHelper. tanh(Apfloat x)
Hyperbolic tangent.(package private) static Apfloat
ApfloatMath. tanhFixedPrecision(Apfloat x)
static Apfloat
ApfloatMath. toDegrees(Apfloat x)
Converts an angle measured in radians to degrees.Apfloat
FixedPrecisionApfloatHelper. toDegrees(Apfloat x)
Convert radians to degrees.static Apfloat
ApfloatMath. toRadians(Apfloat x)
Converts an angle measured in degrees to radians.Apfloat
FixedPrecisionApfloatHelper. toRadians(Apfloat x)
Convert degrees to radians.Apfloat
Apfloat. toRadix(int radix)
Convert this apfloat to the specified radix.static Apfloat
RadixConversionHelper. toRadix(Apfloat x, int toRadix)
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)
Apfloat
FixedPrecisionApfloatHelper. truncate(Apfloat x)
Truncate fractional part.private Apfloat
LambertWHelper. twoPi()
private Apfloat
LambertWHelper. twoPiK()
static Apfloat
ApcomplexMath. ulp(Apcomplex z)
Returns the unit in the last place of the argument, considering the scale and precision.static Apfloat
ApfloatMath. ulp(Apfloat x)
Returns the unit in the last place of the argument, considering the scale and precision.private static Apfloat
ApfloatMath. ulp(Apfloat x, int direction)
Apfloat
FixedPrecisionApcomplexHelper. ulp(Apcomplex z)
Unit in the last place.Apfloat
FixedPrecisionApfloatHelper. ulp(Apfloat x)
Unit in the last place.(package private) Apfloat
FixedPrecisionApcomplexHelper. valueOf(Apfloat x)
Apfloat
FixedPrecisionApfloatHelper. valueOf(Apfloat x)
Returns the value with the specified precision.static Apfloat
ApfloatMath. w(Apfloat x)
Lambert W function.Apfloat
FixedPrecisionApfloatHelper. w(Apfloat x)
Lambert W function.static Apfloat
LambertWHelper. w(Apfloat x)
static Apfloat
ApfloatMath. zeta(Apfloat s)
Riemann zeta function.static Apfloat
ApfloatMath. zeta(Apfloat s, Apfloat a)
Hurwitz zeta function.Apfloat
FixedPrecisionApfloatHelper. zeta(Apfloat s)
Riemann zeta function.Apfloat
FixedPrecisionApfloatHelper. zeta(Apfloat s, Apfloat a)
Hurwitz zeta function.Methods in org.apfloat with parameters of type Apfloat Modifier and Type Method Description static Apfloat
ApfloatMath. abs(Apfloat x)
Absolute value.Apfloat
FixedPrecisionApfloatHelper. abs(Apfloat x)
Absolute value.static Apfloat
ApfloatMath. acos(Apfloat x)
Inverse cosine.(package private) static Apfloat
ApfloatMath. acos(Apfloat x, long precision)
Apfloat
FixedPrecisionApfloatHelper. acos(Apfloat x)
Arc cosine.static Apfloat
ApfloatMath. acosh(Apfloat x)
Inverse hyperbolic cosine.Apfloat
FixedPrecisionApfloatHelper. acosh(Apfloat x)
Hyperbolic arc cosine.Apfloat
Apfloat. add(Apfloat x)
Adds two apfloats.Apfloat
FixedPrecisionApfloatHelper. add(Apfloat x, Apfloat y)
Addition.private Apfloat
Apfloat. addOrSubtract(Apfloat x, boolean subtract)
private Apfloat
HypergeometricHelper. adjustOffset(Apfloat x, Apfloat offset)
static Apfloat
ApfloatMath. agm(Apfloat a, Apfloat b)
Arithmetic-geometric mean.(package private) static Apfloat
ApfloatMath. agm(Apfloat a, Apfloat b, java.util.function.Consumer<Apfloat> consumer)
Apfloat
FixedPrecisionApfloatHelper. agm(Apfloat a, Apfloat b)
Arithmetic-geometric mean.private static Apfloat
ApfloatMath. agmConsume(java.util.function.Consumer<Apfloat> consumer, Apfloat a, Apfloat c2, long workingPrecision)
static Apfloat
ApfloatMath. airyAi(Apfloat x)
Airy function Ai.(package private) static Apfloat
ApfloatMath. airyAi(Apfloat x, long precision)
Apfloat
FixedPrecisionApfloatHelper. airyAi(Apfloat x)
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)
Apfloat
FixedPrecisionApfloatHelper. airyAiPrime(Apfloat x)
Derivative of the Airy function Ai.static Apfloat
ApfloatMath. airyBi(Apfloat x)
Airy function Bi.(package private) static Apfloat
ApfloatMath. airyBi(Apfloat x, long precision)
Apfloat
FixedPrecisionApfloatHelper. airyBi(Apfloat x)
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)
Apfloat
FixedPrecisionApfloatHelper. airyBiPrime(Apfloat x)
Derivative of the Airy function Bi.static Apfloat
ApfloatMath. asin(Apfloat x)
Inverse sine.Apfloat
FixedPrecisionApfloatHelper. asin(Apfloat x)
Arc sine.static Apfloat
ApfloatMath. asinh(Apfloat x)
Inverse hyperbolic sine.Apfloat
FixedPrecisionApfloatHelper. asinh(Apfloat x)
Hyperbolic arc sine.static Apfloat
ApfloatMath. atan(Apfloat x)
Inverse tangent.Apfloat
FixedPrecisionApfloatHelper. atan(Apfloat x)
Arc tangent.static Apfloat
ApfloatMath. atan2(Apfloat y, Apfloat x)
Converts cartesian coordinates to polar coordinates.Apfloat
FixedPrecisionApfloatHelper. atan2(Apfloat x, Apfloat y)
Angle of point.static Apfloat
ApfloatMath. atanh(Apfloat x)
Inverse hyperbolic tangent.Apfloat
FixedPrecisionApfloatHelper. atanh(Apfloat x)
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)
Apfloat
FixedPrecisionApfloatHelper. bernoulliB(long n, Apfloat x)
Bernoulli polynomial.static Apfloat
ApfloatMath. besselI(Apfloat ν, Apfloat x)
Modified Bessel function of the first kind.Apfloat
FixedPrecisionApfloatHelper. besselI(Apfloat ν, Apfloat x)
Modified Bessel function of the first kind.static Apfloat
ApfloatMath. besselJ(Apfloat ν, Apfloat x)
Bessel function of the first kind.Apfloat
FixedPrecisionApfloatHelper. besselJ(Apfloat ν, Apfloat x)
Bessel function of the first kind.static Apfloat
ApfloatMath. besselK(Apfloat ν, Apfloat x)
Modified Bessel function of the second kind.Apfloat
FixedPrecisionApfloatHelper. besselK(Apfloat ν, Apfloat x)
Modified Bessel function of the second kind.static Apfloat
ApfloatMath. besselY(Apfloat ν, Apfloat x)
Bessel function of the second kind.Apfloat
FixedPrecisionApfloatHelper. besselY(Apfloat ν, Apfloat x)
Bessel function of the second kind.static Apfloat
ApfloatMath. beta(Apfloat a, Apfloat b)
Beta function.static Apfloat
ApfloatMath. beta(Apfloat x, Apfloat a, Apfloat b)
Incomplete beta function.static Apfloat
ApfloatMath. beta(Apfloat x1, Apfloat x2, Apfloat a, Apfloat b)
Generalized incomplete beta function.Apfloat
FixedPrecisionApfloatHelper. beta(Apfloat a, Apfloat b)
Beta function.Apfloat
FixedPrecisionApfloatHelper. beta(Apfloat x, Apfloat a, Apfloat b)
Incomplete beta function.Apfloat
FixedPrecisionApfloatHelper. beta(Apfloat x1, Apfloat x2, Apfloat a, Apfloat b)
Generalized incomplete beta function.static Apfloat
ApfloatMath. binomial(Apfloat n, Apfloat k)
Binomial coefficient.Apfloat
FixedPrecisionApfloatHelper. binomial(Apfloat n, Apfloat k)
Binomial coefficient.static Apfloat
ApfloatMath. cbrt(Apfloat x)
Cube root.Apfloat
FixedPrecisionApfloatHelper. cbrt(Apfloat x)
Cube root.static Apint
ApfloatMath. ceil(Apfloat x)
Ceiling function.Apfloat
FixedPrecisionApfloatHelper. ceil(Apfloat x)
Ceiling function.static Apfloat
ApfloatMath. chebyshevT(Apfloat ν, Apfloat x)
Chebyshev function of the first kind.Apfloat
FixedPrecisionApfloatHelper. chebyshevT(Apfloat ν, Apfloat x)
Chebyshev function of the first kind.static Apfloat
ApfloatMath. chebyshevU(Apfloat ν, Apfloat x)
Chebyshev function of the second kind.Apfloat
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
ApfloatHelper. checkPow(Apfloat x, Apfloat y, long targetPrecision)
private Apfloat
FixedPrecisionApfloatHelper. checkSmallLinear(Apfloat x)
int
Apfloat. compareTo(Apfloat x)
Compare this apfloat to the specified apfloat.int
Apint. compareTo(Apfloat x)
Compare this apint to the specified apfloat.int
Aprational. compareTo(Apfloat x)
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
.static java.util.Iterator<Apint>
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
ApfloatMath. copySign(Apfloat x, Apfloat y)
Copy sign from one argument to another.Apfloat
FixedPrecisionApfloatHelper. copySign(Apfloat x, Apfloat y)
Copies the sign from one number to another.static Apfloat
ApfloatMath. cos(Apfloat x)
Cosine.Apfloat
FixedPrecisionApfloatHelper. cos(Apfloat x)
Cosine.static Apfloat
ApfloatMath. cosh(Apfloat x)
Hyperbolic cosine.Apfloat
FixedPrecisionApfloatHelper. cosh(Apfloat x)
Hyperbolic cosine.static Apfloat
ApfloatMath. coshIntegral(Apfloat x)
Hyperbolic cosine integral.Apfloat
FixedPrecisionApfloatHelper. coshIntegral(Apfloat x)
Hyperbolic cosine integral.static Apfloat
ApfloatMath. cosIntegral(Apfloat x)
Cosine integral.Apfloat
FixedPrecisionApfloatHelper. cosIntegral(Apfloat x)
Cosine integral.static Apfloat
ApfloatMath. digamma(Apfloat x)
Digamma function.Apfloat
FixedPrecisionApfloatHelper. digamma(Apfloat x)
Digamma function.Apfloat
Apfloat. divide(Apfloat x)
Divides two apfloats.Apfloat
FixedPrecisionApfloatHelper. divide(Apfloat x, Apfloat y)
Division.static Apfloat
ApfloatMath. ellipticE(Apfloat x)
Complete elliptic integral of the second kind.(package private) static Apfloat
ApfloatMath. ellipticE(Apfloat x, long precision)
Apfloat
FixedPrecisionApfloatHelper. ellipticE(Apfloat x)
Complete elliptic integral of the second kind.static Apfloat
ApfloatMath. ellipticK(Apfloat x)
Complete elliptic integral of the first kind.(package private) static Apfloat
ApfloatMath. ellipticK(Apfloat x, long precision)
Apfloat
FixedPrecisionApfloatHelper. ellipticK(Apfloat x)
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
ApfloatMath. erf(Apfloat x)
Error function.Apfloat
FixedPrecisionApfloatHelper. erf(Apfloat x)
Error function.static Apfloat
ApfloatMath. erfc(Apfloat x)
Complementary error function.Apfloat
FixedPrecisionApfloatHelper. erfc(Apfloat x)
Complementary error function.(package private) static Apfloat
ApfloatMath. erfcFixedPrecision(Apfloat x)
(package private) static Apfloat
ApfloatMath. erfFixedPrecision(Apfloat x)
static Apfloat
ApfloatMath. erfi(Apfloat x)
Imaginary error function.Apfloat
FixedPrecisionApfloatHelper. erfi(Apfloat x)
Imaginary error function.(package private) static Apfloat
ApfloatMath. erfiFixedPrecision(Apfloat x)
static Apfloat
ApfloatMath. eulerE(long n, Apfloat x)
Euler polynomial.(package private) static Apfloat
ApfloatMath. eulerE(long n, Apfloat x, long precision)
Apfloat
FixedPrecisionApfloatHelper. eulerE(long n, Apfloat x)
Euler polynomial.static Apfloat
ApfloatMath. exp(Apfloat x)
Exponent function.Apfloat
FixedPrecisionApfloatHelper. exp(Apfloat x)
Exponential function.static Apfloat
ApfloatMath. expIntegralE(Apfloat ν, Apfloat x)
Exponential integral E.Apfloat
FixedPrecisionApfloatHelper. expIntegralE(Apfloat ν, Apfloat x)
Exponential integral E.static Apfloat
ApfloatMath. expIntegralEi(Apfloat x)
Exponential integral Ei.Apfloat
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
ApfloatMath. fibonacci(Apfloat ν, Apfloat x)
Fibonacci function.Apfloat
FixedPrecisionApfloatHelper. fibonacci(Apfloat ν, Apfloat x)
Fibonacci function.static Apfloat
RootFinder. findRoot(java.util.function.Function<Apfloat,Apfloat> f, java.util.function.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
ApfloatMath. floor(Apfloat x)
Floor function.Apfloat
FixedPrecisionApfloatHelper. floor(Apfloat x)
Floor function.static Apfloat
ApfloatMath. fmod(Apfloat x, Apfloat y)
Returns x modulo y.Apfloat
FixedPrecisionApfloatHelper. fmod(Apfloat x, Apfloat y)
Modulus.static Apfloat
ApfloatMath. frac(Apfloat x)
Extracts fractional part.Apfloat
FixedPrecisionApfloatHelper. frac(Apfloat x)
Extract fractional part.static Apfloat
ApfloatMath. fresnelC(Apfloat x)
Fresnel integral C.Apfloat
FixedPrecisionApfloatHelper. fresnelC(Apfloat x)
Fresnel integral C.static Apfloat
ApfloatMath. fresnelS(Apfloat x)
Fresnel integral S.Apfloat
FixedPrecisionApfloatHelper. fresnelS(Apfloat x)
Fresnel integral S.private static Apcomplex
ApcomplexMath. fresnelTerm(Apint one, Apfloat half, Apfloat invSqrtPi, Apcomplex iz2, Apcomplex iHalfPiZ2)
static Apfloat
ApfloatMath. gamma(Apfloat x)
Gamma function.static Apfloat
ApfloatMath. gamma(Apfloat a, Apfloat x)
Incomplete gamma function.static Apfloat
ApfloatMath. gamma(Apfloat a, Apfloat x0, Apfloat x1)
Generalized incomplete gamma function.Apfloat
FixedPrecisionApfloatHelper. gamma(Apfloat x)
Gamma function.Apfloat
FixedPrecisionApfloatHelper. gamma(Apfloat a, Apfloat x)
Incomplete gamma function.Apfloat
FixedPrecisionApfloatHelper. gamma(Apfloat a, Apfloat x0, Apfloat x1)
Generalized incomplete gamma function.static Apfloat
ApfloatMath. gegenbauerC(Apfloat ν, Apfloat x)
Renormalized Gegenbauer function.static Apfloat
ApfloatMath. gegenbauerC(Apfloat ν, Apfloat λ, Apfloat x)
Gegenbauer function.Apfloat
FixedPrecisionApfloatHelper. gegenbauerC(Apfloat ν, Apfloat x)
Renormalized Gegenbauer function.Apfloat
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.Apfloat
FixedPrecisionApfloatHelper. harmonicNumber(Apfloat x)
Harmonic number.Apfloat
FixedPrecisionApfloatHelper. harmonicNumber(Apfloat x, Apfloat r)
Generalized harmonic number.static Apfloat
ApfloatMath. hermiteH(Apfloat ν, Apfloat x)
Hermite function.Apfloat
FixedPrecisionApfloatHelper. hermiteH(Apfloat ν, Apfloat x)
Hermite function.static Apfloat
ApfloatMath. hypergeometric0F1(Apfloat a, Apfloat x)
Confluent hypergeometric function 0F1.Apfloat
FixedPrecisionApfloatHelper. hypergeometric0F1(Apfloat a, Apfloat x)
Confluent hypergeometric function 0F1.static Apfloat
ApfloatMath. hypergeometric0F1Regularized(Apfloat a, Apfloat x)
Regularized confluent hypergeometric function 0F̃1.Apfloat
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.Apfloat
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.Apfloat
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.Apfloat
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.Apfloat
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.Apfloat
FixedPrecisionApfloatHelper. hypergeometricU(Apfloat a, Apfloat b, Apfloat x)
Tricomi's confluent hypergeometric function U.static Apfloat
ApfloatMath. inverseErf(Apfloat x)
Inverse error function.Apfloat
FixedPrecisionApfloatHelper. inverseErf(Apfloat x)
Inverse error function.static Apfloat
ApfloatMath. inverseErfc(Apfloat x)
Inverse complementary error function.Apfloat
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.Apfloat
FixedPrecisionApfloatHelper. inverseRoot(Apfloat x, long n)
Inverse root.private static boolean
ApfloatMath. isEven(Apfloat x)
private static Apfloat
HurwitzZetaHelper. J(Apfloat A, Apfloat B)
static Apfloat
ApfloatMath. jacobiP(Apfloat ν, Apfloat a, Apfloat b, Apfloat x)
Jacobi function.Apfloat
FixedPrecisionApfloatHelper. jacobiP(Apfloat ν, Apfloat a, Apfloat b, Apfloat x)
Jacobi function.static Apfloat
ApfloatMath. laguerreL(Apfloat ν, Apfloat x)
Laguerre function.static Apfloat
ApfloatMath. laguerreL(Apfloat ν, Apfloat λ, Apfloat x)
Generalized Laguerre function.Apfloat
FixedPrecisionApfloatHelper. laguerreL(Apfloat ν, Apfloat x)
Laguerre function.Apfloat
FixedPrecisionApfloatHelper. laguerreL(Apfloat ν, Apfloat λ, Apfloat x)
Generalized Laguerre function.private static Apfloat
ApfloatMath. lastIterationExtendPrecision(int iterations, int precisingIteration, Apfloat x)
static Apfloat
ApfloatMath. legendreP(Apfloat ν, Apfloat x)
Legendre function.static Apfloat
ApfloatMath. legendreP(Apfloat ν, Apfloat μ, Apfloat x)
Associated Legendre function of the first kind.Apfloat
FixedPrecisionApfloatHelper. legendreP(Apfloat ν, Apfloat x)
Legendre function.Apfloat
FixedPrecisionApfloatHelper. legendreP(Apfloat ν, Apfloat μ, Apfloat x)
Associated Legendre function of the first kind.static Apfloat
ApfloatMath. legendreQ(Apfloat ν, Apfloat x)
Legendre function of the second kind.static Apfloat
ApfloatMath. legendreQ(Apfloat ν, Apfloat μ, Apfloat x)
Associated Legendre function of the second kind.Apfloat
FixedPrecisionApfloatHelper. legendreQ(Apfloat ν, Apfloat x)
Legendre function of the second kind.Apfloat
FixedPrecisionApfloatHelper. legendreQ(Apfloat ν, Apfloat μ, Apfloat x)
Associated Legendre function of the second kind.static Apfloat
ApfloatHelper. limitPrecision(Apfloat x, long precision)
static Apfloat
ApfloatMath. log(Apfloat x)
Natural logarithm.private static Apfloat
ApfloatMath. log(Apfloat x, boolean multiplyByPi)
static Apfloat
ApfloatMath. log(Apfloat x, Apfloat b)
Logarithm in arbitrary base.Apfloat
FixedPrecisionApfloatHelper. log(Apfloat x)
Natural logarithm.Apfloat
FixedPrecisionApfloatHelper. log(Apfloat x, Apfloat b)
Logarithm in specified base.static Apfloat
ApfloatMath. logGamma(Apfloat x)
Logarithm of the gamma function.Apfloat
FixedPrecisionApfloatHelper. logGamma(Apfloat x)
Logarithm of the gamma function.static Apfloat
ApfloatMath. logIntegral(Apfloat x)
Logarithmic integral.Apfloat
FixedPrecisionApfloatHelper. logIntegral(Apfloat x)
Logarithmic integral.static Apfloat
ApfloatMath. logisticSigmoid(Apfloat x)
Logistic sigmoid.Apfloat
FixedPrecisionApfloatHelper. logisticSigmoid(Apfloat x)
Logistic sigmoid.static Apfloat
ApfloatMath. max(Apfloat x, Apfloat y)
Returns the greater of the two values.Apfloat
FixedPrecisionApfloatHelper. max(Apfloat x, Apfloat y)
Maximum value.static Apfloat
ApfloatMath. min(Apfloat x, Apfloat y)
Returns the smaller of the two values.Apfloat
FixedPrecisionApfloatHelper. min(Apfloat x, Apfloat y)
Minimum value.Apfloat
Apfloat. mod(Apfloat x)
Calculates the remainder when divided by an apfloat.Apfloat
FixedPrecisionApfloatHelper. mod(Apfloat x, Apfloat y)
Modulus.static Apfloat[]
ApfloatMath. modf(Apfloat x)
Split to integer and fractional parts.Apfloat[]
FixedPrecisionApfloatHelper. modf(Apfloat x)
Split to integer and fractional parts.private static Apint
ApintMath. modMultiply(Apint x1, Apint x2, Apint y, Apfloat inverseY)
Apfloat
Apfloat. multiply(Apfloat x)
Multiplies two apfloats.Apfloat
FixedPrecisionApfloatHelper. multiply(Apfloat x, Apfloat y)
Multiplication.static Apfloat
ApfloatMath. multiplyAdd(Apfloat a, Apfloat b, Apfloat c, Apfloat d)
Fused multiply-add.Apfloat
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.Apfloat
FixedPrecisionApfloatHelper. multiplySubtract(Apfloat a, Apfloat b, Apfloat c, Apfloat d)
Fused multiply-subtract.static Apfloat
ApfloatMath. negate(Apfloat x)
Deprecated.Usenegate()
.Apfloat
FixedPrecisionApfloatHelper. negate(Apfloat x)
Negation.static Apfloat
ApfloatMath. nextAfter(Apfloat start, Apfloat direction)
Returns the number adjacent to the first argument in the direction of the second argument, considering the scale and precision of the first argument.Apfloat
FixedPrecisionApfloatHelper. nextAfter(Apfloat x, Apfloat y)
The number adjacent to the first argument in the direction of the second argument.static Apfloat
ApfloatMath. nextDown(Apfloat x)
Returns the number adjacent to the argument in the direction of negative infinity, considering the scale and precision of the argument.Apfloat
FixedPrecisionApfloatHelper. nextDown(Apfloat x)
The adjacent value closer to negative infinity.private static Apfloat
ApfloatMath. nextInDirection(Apfloat x, int direction)
static Apfloat
ApfloatMath. nextUp(Apfloat x)
Returns the number adjacent to the argument in the direction of positive infinity, considering the scale and precision of the argument.Apfloat
FixedPrecisionApfloatHelper. nextUp(Apfloat x)
The adjacent value closer to positive infinity.static Apfloat
ApfloatMath. pochhammer(Apfloat x, Apfloat n)
Pochhammer symbol.Apfloat
FixedPrecisionApfloatHelper. pochhammer(Apfloat x, Apfloat n)
Pochhammer symbol.static Apfloat
ApfloatMath. polygamma(long n, Apfloat x)
Polygamma function.Apfloat
FixedPrecisionApfloatHelper. polygamma(long n, Apfloat x)
Polygamma function.static Apfloat
ApfloatMath. polylog(Apfloat ν, Apfloat x)
Polylogarithm.Apfloat
FixedPrecisionApfloatHelper. polylog(Apfloat ν, Apfloat x)
Polylogarithm.static Apfloat
ApfloatMath. pow(Apfloat x, long n)
Integer power.static Apfloat
ApfloatMath. pow(Apfloat x, Apfloat y)
Arbitrary power.Apfloat
FixedPrecisionApfloatHelper. pow(Apfloat x, long n)
Integer power.Apfloat
FixedPrecisionApfloatHelper. pow(Apfloat x, Apfloat y)
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
ApfloatMath. product(Apfloat... x)
Product of numbers.Apfloat
FixedPrecisionApfloatHelper. product(Apfloat... x)
Product.private Apcomplex
ZetaHelper. Q(long v, Apfloat m)
private static Apfloat
ApfloatMath. rawLog(Apfloat x, boolean multiplyByPi)
static Apfloat
ApfloatHelper. reducePrecision(Apfloat x)
static Apfloat
ApfloatHelper. reducePrecision(Apfloat x, long extraPrecision)
static Apfloat
ApfloatMath. root(Apfloat x, long n)
Positive integer root.Apfloat
FixedPrecisionApfloatHelper. root(Apfloat x, long n)
Root.static Apfloat
ApfloatMath. round(Apfloat x, long precision, java.math.RoundingMode roundingMode)
Deprecated.Apfloat
FixedPrecisionApfloatHelper. round(Apfloat x, java.math.RoundingMode roundingMode)
Deprecated.static Apint
ApfloatMath. roundToInteger(Apfloat x, java.math.RoundingMode roundingMode)
Roundsx
to integer using the specified rounding mode.Apfloat
FixedPrecisionApfloatHelper. roundToInteger(Apfloat x, java.math.RoundingMode roundingMode)
Round to integer with specified rounding mode.static Apint
RoundingHelper. roundToInteger(Apfloat x, java.math.RoundingMode roundingMode)
static Apfloat
ApfloatMath. roundToMultiple(Apfloat x, Apfloat y, java.math.RoundingMode roundingMode)
Roundsx
to the nearest multiple ofy
using the specified rounding mode.Apfloat
FixedPrecisionApfloatHelper. roundToMultiple(Apfloat x, Apfloat y, java.math.RoundingMode roundingMode)
Round to multiple with specified rounding mode.static Apfloat
RoundingHelper. roundToMultiple(Apfloat x, Apfloat y, java.math.RoundingMode roundingMode)
static Apfloat
ApfloatMath. roundToPlaces(Apfloat x, long places, java.math.RoundingMode roundingMode)
Roundsx
to the specified number of places using the specified rounding mode.Apfloat
FixedPrecisionApfloatHelper. roundToPlaces(Apfloat x, long places, java.math.RoundingMode roundingMode)
Round to specified number of places with specified rounding mode.static Apfloat
RoundingHelper. roundToPlaces(Apfloat x, long places, java.math.RoundingMode roundingMode)
static Apfloat
ApfloatMath. roundToPrecision(Apfloat x, long precision, java.math.RoundingMode roundingMode)
Rounds the given number to the specified precision with the specified rounding mode.Apfloat
FixedPrecisionApfloatHelper. roundToPrecision(Apfloat x, java.math.RoundingMode roundingMode)
Round to precision with specified rounding mode.static Apfloat
RoundingHelper. roundToPrecision(Apfloat x, long precision, java.math.RoundingMode roundingMode)
static Apfloat
ApfloatMath. scale(Apfloat x, long scale)
Multiply by a power of the radix.Apfloat
FixedPrecisionApfloatHelper. scale(Apfloat x, long scale)
Move the radix point.void
ApfloatMath.ApfloatHolder. setApfloat(Apfloat apfloat)
private void
Aprational. setApprox(Apfloat approx)
(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
ApfloatMath. sin(Apfloat x)
Sine.Apfloat
FixedPrecisionApfloatHelper. sin(Apfloat x)
Sine.static Apfloat
ApfloatMath. sinc(Apfloat x)
Sinc.Apfloat
FixedPrecisionApfloatHelper. sinc(Apfloat x)
Sinc.static Apfloat
ApfloatMath. sinh(Apfloat x)
Hyperbolic sine.Apfloat
FixedPrecisionApfloatHelper. sinh(Apfloat x)
Hyperbolic sine.static Apfloat
ApfloatMath. sinhIntegral(Apfloat x)
Hyperbolic sine integral.Apfloat
FixedPrecisionApfloatHelper. sinhIntegral(Apfloat x)
Hyperbolic sine integral.static Apfloat
ApfloatMath. sinIntegral(Apfloat x)
Sine integral.Apfloat
FixedPrecisionApfloatHelper. sinIntegral(Apfloat x)
Sine integral.private static Apfloat
RadixConversionHelper. split(Apfloat x, int toRadix, long size, long split, RadixConversionHelper.RadixPowerList radixPowerList)
static Apfloat
ApfloatMath. sqrt(Apfloat x)
Square root.Apfloat
FixedPrecisionApfloatHelper. sqrt(Apfloat x)
Square root.Apfloat
Apfloat. subtract(Apfloat x)
Subtracts two apfloats.Apfloat
FixedPrecisionApfloatHelper. subtract(Apfloat x, Apfloat y)
Subtraction.static Apfloat
ApfloatMath. sum(Apfloat... x)
Sum of numbers.Apfloat
FixedPrecisionApfloatHelper. sum(Apfloat... x)
Sum.static Apfloat
ApfloatMath. tan(Apfloat x)
Tangent.Apfloat
FixedPrecisionApfloatHelper. tan(Apfloat x)
Tangent.static Apfloat
ApfloatMath. tanh(Apfloat x)
Hyperbolic tangent.private static Apfloat
ApfloatMath. tanh(Apfloat x, boolean negate)
Apfloat
FixedPrecisionApfloatHelper. tanh(Apfloat x)
Hyperbolic tangent.(package private) static Apfloat
ApfloatMath. tanhFixedPrecision(Apfloat x)
boolean
Apfloat. test(Apfloat x)
Tests two apfloat numbers for equality.boolean
Apint. test(Apfloat x)
boolean
Aprational. test(Apfloat x)
static Apfloat
ApfloatMath. toDegrees(Apfloat x)
Converts an angle measured in radians to degrees.Apfloat
FixedPrecisionApfloatHelper. toDegrees(Apfloat x)
Convert radians to degrees.static Apfloat
ApfloatMath. toRadians(Apfloat x)
Converts an angle measured in degrees to radians.Apfloat
FixedPrecisionApfloatHelper. toRadians(Apfloat x)
Convert degrees to radians.static Apfloat
RadixConversionHelper. toRadix(Apfloat x, int toRadix)
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
ApfloatMath. truncate(Apfloat x)
Truncates fractional part.Apfloat
FixedPrecisionApfloatHelper. truncate(Apfloat x)
Truncate fractional part.static Apfloat
ApfloatMath. ulp(Apfloat x)
Returns the unit in the last place of the argument, considering the scale and precision.private static Apfloat
ApfloatMath. ulp(Apfloat x, int direction)
Apfloat
FixedPrecisionApfloatHelper. ulp(Apfloat x)
Unit in the last place.(package private) Apfloat
FixedPrecisionApcomplexHelper. valueOf(Apfloat x)
Apfloat
FixedPrecisionApfloatHelper. valueOf(Apfloat x)
Returns the value with the specified precision.static Apfloat
ApfloatMath. w(Apfloat x)
Lambert W function.Apfloat
FixedPrecisionApfloatHelper. w(Apfloat x)
Lambert W function.static Apfloat
LambertWHelper. w(Apfloat x)
static Apfloat
ApfloatMath. zeta(Apfloat s)
Riemann zeta function.static Apfloat
ApfloatMath. zeta(Apfloat s, Apfloat a)
Hurwitz zeta function.Apfloat
FixedPrecisionApfloatHelper. zeta(Apfloat s)
Riemann zeta function.Apfloat
FixedPrecisionApfloatHelper. zeta(Apfloat s, Apfloat a)
Hurwitz zeta function.Method parameters in org.apfloat with type arguments of type Apfloat Modifier and Type Method Description (package private) static Apfloat
ApfloatMath. agm(Apfloat a, Apfloat b, java.util.function.Consumer<Apfloat> consumer)
private static Apfloat
ApfloatMath. agmConsume(java.util.function.Consumer<Apfloat> consumer, Apfloat a, Apfloat c2, long workingPrecision)
static Apfloat
RootFinder. findRoot(java.util.function.Function<Apfloat,Apfloat> f, java.util.function.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(java.util.function.Function<Apfloat,Apfloat> f, java.util.function.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(java.util.function.Function<Apfloat,Apfloat> f, java.util.function.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(java.util.function.Function<Apfloat,Apfloat> f, java.util.function.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(java.util.function.Function<Apfloat,Apfloat> f, java.util.function.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 Apfloat Constructor Description Apcomplex(Apfloat real)
Construct a real apcomplex whose imaginary part is zero.Apcomplex(Apfloat real, Apfloat imag)
Construct an apcomplex with the specified real and imaginary part.ApfloatHolder(Apfloat apfloat)
Apint(Apfloat value)
EulerHelper(Apfloat n2, long precision, int radix)
-
Uses of Apfloat in org.apfloat.samples
Fields in org.apfloat.samples declared as Apfloat Modifier and Type Field Description private Apfloat
Pi.ChudnovskyBinarySplittingSeries. A
private Apfloat
Pi.RamanujanBinarySplittingSeries. A
private Apfloat
ApfloatHolder. apfloat
private Apfloat
Pi.ChudnovskyBinarySplittingSeries. B
private Apfloat
Pi.RamanujanBinarySplittingSeries. B
private Apfloat
Pi.ChudnovskyBinarySplittingSeries. FIVE
private Apfloat
Pi.RamanujanBinarySplittingSeries. FOUR
private Apfloat
Pi.ChudnovskyBinarySplittingSeries. J
private Apfloat
Pi.RamanujanBinarySplittingSeries. J
private Apfloat
Pi.ChudnovskyBinarySplittingSeries. ONE
private Apfloat
Pi.RamanujanBinarySplittingSeries. ONE
private Apfloat
Pi.ChudnovskyBinarySplittingSeries. SIX
private Apfloat
Pi.RamanujanBinarySplittingSeries. THREE
private Apfloat
Pi.ChudnovskyBinarySplittingSeries. TWO
private Apfloat
Pi.RamanujanBinarySplittingSeries. TWO
Methods in org.apfloat.samples that return Apfloat Modifier and Type Method Description private Apfloat
Pi.BinarySplittingPiCalculator. a(long n)
Apfloat
Pi.BinarySplittingSeries. a(long n)
Binary splitting term.Apfloat
Pi.ChudnovskyBinarySplittingSeries. a(long n)
Apfloat
Pi.RamanujanBinarySplittingSeries. a(long n)
Apfloat
Pi.BorweinPiCalculator. execute()
Calculate pi using the Borweins' quartic iteration.Apfloat
Pi.ChudnovskyPiCalculator. execute()
Calculate pi using the Chudnovskys' binary splitting algorithm.Apfloat
Pi.GaussLegendrePiCalculator. execute()
Calculate pi using the Gauss-Legendre iteration.Apfloat
Pi.RamanujanPiCalculator. execute()
Calculate pi using the Ramanujan binary splitting algorithm.Apfloat
PiDistributed.DistributedChudnovskyPiCalculator. execute()
Apfloat
PiDistributed.DistributedRamanujanPiCalculator. execute()
Apfloat
PiParallel.ParallelChudnovskyPiCalculator. execute()
Apfloat
PiParallel.ParallelRamanujanPiCalculator. execute()
private Apfloat
PiDistributed.DistributedBinarySplittingPiCalculator. executeAdd(PiDistributed.Node node, Apfloat x, Apfloat y)
Apfloat
ApfloatHolder. getApfloat()
Return the apfloat contained in this bean.private Apfloat
Pi.BinarySplittingPiCalculator. p(long n)
Apfloat
Pi.BinarySplittingSeries. p(long n)
Binary splitting term.Apfloat
Pi.ChudnovskyBinarySplittingSeries. p(long n)
Apfloat
Pi.RamanujanBinarySplittingSeries. p(long n)
private Apfloat
Pi.BinarySplittingPiCalculator. q(long n)
Apfloat
Pi.BinarySplittingSeries. q(long n)
Binary splitting term.Apfloat
Pi.ChudnovskyBinarySplittingSeries. q(long n)
Apfloat
Pi.RamanujanBinarySplittingSeries. q(long n)
Methods in org.apfloat.samples that return types with arguments of type Apfloat Modifier and Type Method Description protected Operation<Apfloat>
PiAWT. getOperation(long precision, int radix)
Get the calculation operation to execute.protected Operation<Apfloat>
PiParallelAWT. getOperation(long precision, int radix)
Methods in org.apfloat.samples with parameters of type Apfloat Modifier and Type Method Description private 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 Apfloat Modifier and Type Method Description static void
Pi. run(long precision, int radix, Operation<Apfloat> operation)
Execute an operation and display some additional information.Constructors in org.apfloat.samples with parameters of type Apfloat Constructor Description ApfloatHolder(Apfloat apfloat)
Construct an ApfloatHolder containing the specified apfloat.
-