Uses of Class
org.apfloat.ApfloatRuntimeException
Packages that use ApfloatRuntimeException
Package
Description
The apfloat Application Programming Interface (API).
Transforms for using a GPU via the aparapi library.
Default implementations of the apfloat Service Provider Interface (SPI).
Sample applications demonstrating apfloat use.
The apfloat Service Provider Interface (SPI).
-
Uses of ApfloatRuntimeException in org.apfloat
Subclasses of ApfloatRuntimeException in org.apfloatModifier and TypeClassDescriptionclass
Exception indicating an error in the apfloat configuration.class
Exception indicating that the computation was interrupted.class
Exception indicating that the result of an operation would have infinite size.class
Exception indicating a result that would have no significant digits.class
Exception indicating that something went wrong in a numeric computation.class
Exception indicating an overflow in a calculation.Methods in org.apfloat that throw ApfloatRuntimeExceptionModifier and TypeMethodDescriptionstatic Apfloat
Absolute value.static Apfloat
Absolute value.static Apint
Absolute value.static Aprational
AprationalMath.abs
(Aprational x) Absolute value.Absolute value.Absolute value.static Apcomplex
Inverse cosine.static Apfloat
Inverse cosine.Arc cosine.Arc cosine.static Apcomplex
Inverse hyperbolic cosine.static Apfloat
Inverse hyperbolic cosine.Hyperbolic arc cosine.Hyperbolic arc cosine.Adds two apcomplex numbers.Adds two apfloats.Adds two apints.Aprational.add
(Aprational x) Adds two aprational numbers.Addition.Addition.static Apcomplex
Arithmetic-geometric mean.static Apfloat
Arithmetic-geometric mean.Arithmetic-geometric mean.Arithmetic-geometric mean.static Apcomplex
Airy function Ai.static Apfloat
Airy function Ai.Airy function Ai.Airy function Ai.static Apcomplex
ApcomplexMath.airyAiPrime
(Apcomplex z) Derivative of the Airy function Ai.static Apfloat
ApfloatMath.airyAiPrime
(Apfloat x) Derivative of the Airy function Ai.FixedPrecisionApcomplexHelper.airyAiPrime
(Apcomplex z) Derivative of the Airy function Ai.FixedPrecisionApfloatHelper.airyAiPrime
(Apfloat x) Derivative of the Airy function Ai.static Apcomplex
Airy function Bi.static Apfloat
Airy function Bi.Airy function Bi.Airy function Bi.static Apcomplex
ApcomplexMath.airyBiPrime
(Apcomplex z) Derivative of the Airy function Bi.static Apfloat
ApfloatMath.airyBiPrime
(Apfloat x) Derivative of the Airy function Bi.FixedPrecisionApcomplexHelper.airyBiPrime
(Apcomplex z) Derivative of the Airy function Bi.FixedPrecisionApfloatHelper.airyBiPrime
(Apfloat x) Derivative of the Airy function Bi.static Apcomplex[]
All values of the positive integer root.All branches of a root.static Apfloat
Angle of the complex vector in the complex plane.Complex angle.static Apcomplex
Inverse sine.static Apfloat
Inverse sine.Arc sine.Arc sine.static Apcomplex
Inverse hyperbolic sine.static Apfloat
Inverse hyperbolic sine.Hyperbolic arc sine.Hyperbolic arc sine.static Apcomplex
Inverse tangent.static Apfloat
Inverse tangent.Arc tangent.Arc tangent.static Apfloat
Converts cartesian coordinates to polar coordinates.Angle of point.static Apcomplex
Inverse hyperbolic tangent.static Apfloat
Inverse hyperbolic tangent.Hyperbolic arc tangent.Hyperbolic arc tangent.static Aprational
AprationalMath.bernoulli
(long n) Returns the specified Bernoulli number.static Aprational
AprationalMath.bernoulli
(long n, int radix) Returns the specified Bernoulli number in the given radix.FixedPrecisionApcomplexHelper.bernoulli
(long n) Bernoulli number.FixedPrecisionApcomplexHelper.bernoulli
(long n, int radix) Bernoulli number.static Apcomplex
ApcomplexMath.bernoulliB
(long n, Apcomplex z) Bernoulli polynomial.static Apfloat
ApfloatMath.bernoulliB
(long n, Apfloat x) Bernoulli polynomial.FixedPrecisionApcomplexHelper.bernoulliB
(long n, Apcomplex z) Bernoulli polynomial.FixedPrecisionApfloatHelper.bernoulliB
(long n, Apfloat x) Bernoulli polynomial.static Apcomplex
Modified Bessel function of the first kind.static Apfloat
Modified Bessel function of the first kind.Modified Bessel function of the first kind.Modified Bessel function of the first kind.static Apcomplex
Bessel function of the first kind.static Apfloat
Bessel function of the first kind.Bessel function of the first kind.Bessel function of the first kind.static Apcomplex
Modified Bessel function of the second kind.static Apfloat
Modified Bessel function of the second kind.Modified Bessel function of the second kind.Modified Bessel function of the second kind.static Apcomplex
Bessel function of the second kind.static Apfloat
Bessel function of the second kind.Bessel function of the second kind.Bessel function of the second kind.static Apcomplex
Beta function.static Apcomplex
Incomplete beta function.static Apcomplex
Generalized incomplete beta function.static Apfloat
Beta function.static Apfloat
Incomplete beta function.static Apfloat
Generalized incomplete beta function.Beta function.Incomplete beta function.Generalized incomplete beta function.Beta function.Incomplete beta function.Generalized incomplete beta function.static Apcomplex
Binomial coefficient.static Apfloat
Binomial coefficient.static Apint
ApintMath.binomial
(long n, long k) Binomial coefficient.static Apint
ApintMath.binomial
(long n, long k, int radix) Binomial coefficient.static Apint
Binomial coefficient.static Aprational
AprationalMath.binomial
(Aprational n, Aprational k) Binomial coefficient.FixedPrecisionApcomplexHelper.binomial
(long n, long k) Binomial coefficient.FixedPrecisionApcomplexHelper.binomial
(long n, long k, int radix) Binomial coefficient.Binomial coefficient.Binomial coefficient.static Apfloat
ApfloatMath.catalan
(long precision) Calculates Catalan's constant, G.static Apfloat
ApfloatMath.catalan
(long precision, int radix) Calculates Catalan's constant, G.FixedPrecisionApcomplexHelper.catalan()
Catalan's constant G.FixedPrecisionApcomplexHelper.catalan
(int radix) Catalan's constant G.static Apcomplex
Cube root.static Apfloat
Cube root.static Apint[]
Cube root and remainder.Cube root.Cube root.Apfloat.ceil()
Ceiling function.static Apint
Ceiling function.Aprational.ceil()
Ceiling function.Ceiling function.static Apcomplex
ApcomplexMath.chebyshevT
(Apcomplex ν, Apcomplex z) Chebyshev function of the first kind.static Apfloat
ApfloatMath.chebyshevT
(Apfloat ν, Apfloat x) Chebyshev function of the first kind.FixedPrecisionApcomplexHelper.chebyshevT
(Apcomplex ν, Apcomplex z) Chebyshev function of the first kind.FixedPrecisionApfloatHelper.chebyshevT
(Apfloat ν, Apfloat x) Chebyshev function of the first kind.static Apcomplex
ApcomplexMath.chebyshevU
(Apcomplex ν, Apcomplex z) Chebyshev function of the second kind.static Apfloat
ApfloatMath.chebyshevU
(Apfloat ν, Apfloat x) Chebyshev function of the second kind.FixedPrecisionApcomplexHelper.chebyshevU
(Apcomplex ν, Apcomplex z) Chebyshev function of the second kind.FixedPrecisionApfloatHelper.chebyshevU
(Apfloat ν, Apfloat x) Chebyshev function of the second kind.Apcomplex.conj()
Returns the complex conjugate of this apcomplex.Complex conjugate.Apfloat[]
FixedPrecisionApfloatHelper.continuedFraction
(Apfloat x, int n) Continued fraction.Apfloat[]
FixedPrecisionApfloatHelper.convergents
(Apfloat x, int n) Convergents.static Apfloat
Copy sign from one argument to another.static Apint
Copy sign from one argument to another.static Aprational
AprationalMath.copySign
(Aprational x, Aprational y) Copy sign from one argument to another.Copies the sign from one number to another.static Apcomplex
Cosine.static Apfloat
Cosine.Cosine.Cosine.static Apcomplex
Hyperbolic cosine.static Apfloat
Hyperbolic cosine.Hyperbolic cosine.Hyperbolic cosine.static Apcomplex
ApcomplexMath.coshIntegral
(Apcomplex z) Hyperbolic cosine integral.static Apfloat
ApfloatMath.coshIntegral
(Apfloat x) Hyperbolic cosine integral.FixedPrecisionApcomplexHelper.coshIntegral
(Apcomplex z) Hyperbolic cosine integral.FixedPrecisionApfloatHelper.coshIntegral
(Apfloat x) Hyperbolic cosine integral.static Apcomplex
ApcomplexMath.cosIntegral
(Apcomplex z) Cosine integral.static Apfloat
ApfloatMath.cosIntegral
(Apfloat x) Cosine integral.FixedPrecisionApcomplexHelper.cosIntegral
(Apcomplex z) Cosine integral.FixedPrecisionApfloatHelper.cosIntegral
(Apfloat x) Cosine integral.static Apcomplex
Digamma function.static Apfloat
Digamma function.Digamma function.Digamma function.static Apint[]
Quotient and remainder.Divides two apcomplex numbers.Divides two apfloats.Divides two apints.Aprational.divide
(Aprational x) Divides two aprational numbers.Division.Division.static Apint
ApintMath.doubleFactorial
(long n) Double factorial function.static Apint
ApintMath.doubleFactorial
(long n, int radix) Double factorial function.FixedPrecisionApfloatHelper.doubleFactorial
(long n) Double factorial.FixedPrecisionApfloatHelper.doubleFactorial
(long n, int radix) Double factorial.static Apfloat
ApfloatMath.e
(long precision) Calculates e.static Apfloat
ApfloatMath.e
(long precision, int radix) Calculates e.FixedPrecisionApcomplexHelper.e()
e.FixedPrecisionApcomplexHelper.e
(int radix) e.static Apcomplex
Complete elliptic integral of the second kind.static Apfloat
Complete elliptic integral of the second kind.Complete elliptic integral of the second kind.Complete elliptic integral of the second kind.static Apcomplex
Complete elliptic integral of the first kind.static Apfloat
Complete elliptic integral of the first kind.Complete elliptic integral of the first kind.Complete elliptic integral of the first kind.long
Apcomplex.equalDigits
(Apcomplex z) Computes number of equal digits.long
Apfloat.equalDigits
(Apfloat x) Computes number of equal digits.static Apcomplex
Error function.static Apfloat
Error function.Error function.Error function.static Apcomplex
Complementary error function.static Apfloat
Complementary error function.Complementary error function.Complementary error function.static Apcomplex
Imaginary error function.static Apfloat
Imaginary error function.Imaginary error function.Imaginary error function.static Apfloat
ApfloatMath.euler
(long precision) Calculates γ, the Euler-Mascheroni constant.static Apfloat
ApfloatMath.euler
(long precision, int radix) Calculates γ, the Euler-Mascheroni constant.FixedPrecisionApcomplexHelper.euler()
γ, the Euler-Mascheroni constant.FixedPrecisionApcomplexHelper.euler
(int radix) γ, the Euler-Mascheroni constant.static Apcomplex
Euler polynomial.static Apfloat
Euler polynomial.Euler polynomial.Euler polynomial.static Apcomplex
Exponent function.static Apfloat
Exponent function.Exponential function.Exponential function.static Apcomplex
ApcomplexMath.expIntegralE
(Apcomplex ν, Apcomplex z) Exponential integral E.static Apfloat
ApfloatMath.expIntegralE
(Apfloat ν, Apfloat x) Exponential integral E.FixedPrecisionApcomplexHelper.expIntegralE
(Apcomplex ν, Apcomplex z) Exponential integral E.FixedPrecisionApfloatHelper.expIntegralE
(Apfloat ν, Apfloat x) Exponential integral E.static Apcomplex
ApcomplexMath.expIntegralEi
(Apcomplex z) Exponential integral Ei.static Apfloat
ApfloatMath.expIntegralEi
(Apfloat x) Exponential integral Ei.FixedPrecisionApcomplexHelper.expIntegralEi
(Apcomplex z) Exponential integral Ei.FixedPrecisionApfloatHelper.expIntegralEi
(Apfloat x) Exponential integral Ei.static Apint
ApintMath.factorial
(long n) Factorial function.static Apint
ApintMath.factorial
(long n, int radix) Factorial function.FixedPrecisionApfloatHelper.factorial
(long n) Factorial.FixedPrecisionApfloatHelper.factorial
(long n, int radix) Factorial.static Apcomplex
Fibonacci function.static Apfloat
Fibonacci function.Fibonacci function.Fibonacci function.Apfloat.floor()
Floor function.static Apint
Floor function.Aprational.floor()
Floor function.Floor function.static Apfloat
Returns x modulo y.Modulus.Apfloat.frac()
Returns the fractional part.static Apfloat
Extracts fractional part.Apint.frac()
Returns the fractional part.Aprational.frac()
Returns the fractional part.Extract fractional part.static Apcomplex
Fresnel integral C.static Apfloat
Fresnel integral C.Fresnel integral C.Fresnel integral C.static Apcomplex
Fresnel integral S.static Apfloat
Fresnel integral S.Fresnel integral S.Fresnel integral S.static Apcomplex
Gamma function.static Apcomplex
Incomplete gamma function.static Apcomplex
Generalized incomplete gamma function.static Apfloat
Gamma function.static Apfloat
Incomplete gamma function.static Apfloat
Generalized incomplete gamma function.Gamma function.Incomplete gamma function.Generalized incomplete gamma function.Gamma function.Incomplete gamma function.Generalized incomplete gamma function.static Apint
Greatest common divisor.static Apcomplex
ApcomplexMath.gegenbauerC
(Apcomplex ν, Apcomplex z) Renormalized Gegenbauer function.static Apcomplex
ApcomplexMath.gegenbauerC
(Apcomplex ν, Apcomplex λ, Apcomplex z) Gegenbauer function.static Apfloat
ApfloatMath.gegenbauerC
(Apfloat ν, Apfloat x) Renormalized Gegenbauer function.static Apfloat
ApfloatMath.gegenbauerC
(Apfloat ν, Apfloat λ, Apfloat x) Gegenbauer function.FixedPrecisionApcomplexHelper.gegenbauerC
(Apcomplex ν, Apcomplex z) Renormalized Gegenbauer function.FixedPrecisionApcomplexHelper.gegenbauerC
(Apcomplex ν, Apcomplex λ, Apcomplex z) Gegenbauer function.FixedPrecisionApfloatHelper.gegenbauerC
(Apfloat ν, Apfloat x) Renormalized Gegenbauer function.FixedPrecisionApfloatHelper.gegenbauerC
(Apfloat ν, Apfloat λ, Apfloat x) Gegenbauer function.protected ApfloatImpl
Apfloat.getImpl
(long precision) Returns anApfloatImpl
representing the actual instance of this apfloat up to the requested precision.protected ApfloatImpl
Apint.getImpl
(long precision) Returns anApfloatImpl
representing this apint up to the requested precision.protected ApfloatImpl
Aprational.getImpl
(long precision) Returns anApfloatImpl
representing the approximation of this aprational up to the requested precision.static Apfloat
ApfloatMath.glaisher
(long precision) Calculates the Glaisher‐Kinkelin constant, A.static Apfloat
ApfloatMath.glaisher
(long precision, int radix) Calculates the Glaisher‐Kinkelin constant, A.FixedPrecisionApcomplexHelper.glaisher()
The Glaisher-Kinkelin constant A.FixedPrecisionApcomplexHelper.glaisher
(int radix) The Glaisher-Kinkelin constant A.static Apcomplex
ApcomplexMath.harmonicNumber
(Apcomplex z) Harmonic number.static Apcomplex
ApcomplexMath.harmonicNumber
(Apcomplex z, Apcomplex r) Generalized harmonic number.static Apfloat
ApfloatMath.harmonicNumber
(Apfloat x) Harmonic number.static Apfloat
ApfloatMath.harmonicNumber
(Apfloat x, Apfloat r) Generalized harmonic number.static Aprational
AprationalMath.harmonicNumber
(Apint n) Harmonic number.static Aprational
AprationalMath.harmonicNumber
(Apint n, Apint r) Generalized harmonic number.FixedPrecisionApcomplexHelper.harmonicNumber
(Apcomplex z) Harmonic number.FixedPrecisionApcomplexHelper.harmonicNumber
(Apcomplex z, Apcomplex r) Generalized harmonic number.FixedPrecisionApfloatHelper.harmonicNumber
(Apfloat x) Harmonic number.FixedPrecisionApfloatHelper.harmonicNumber
(Apfloat x, Apfloat r) Generalized harmonic number.static Apcomplex
Hermite function.static Apfloat
Hermite function.Hermite function.Hermite function.static Apcomplex
ApcomplexMath.hypergeometric0F1
(Apcomplex a, Apcomplex z) Confluent hypergeometric function 0F1.static Apfloat
ApfloatMath.hypergeometric0F1
(Apfloat a, Apfloat x) Confluent hypergeometric function 0F1.FixedPrecisionApcomplexHelper.hypergeometric0F1
(Apcomplex a, Apcomplex z) Confluent hypergeometric function 0F1.FixedPrecisionApfloatHelper.hypergeometric0F1
(Apfloat a, Apfloat x) Confluent hypergeometric function 0F1.static Apcomplex
ApcomplexMath.hypergeometric0F1Regularized
(Apcomplex a, Apcomplex z) Regularized confluent hypergeometric function 0F̃1.static Apfloat
ApfloatMath.hypergeometric0F1Regularized
(Apfloat a, Apfloat x) Regularized confluent hypergeometric function 0F̃1.FixedPrecisionApcomplexHelper.hypergeometric0F1Regularized
(Apcomplex a, Apcomplex z) Regularized confluent hypergeometric function 0F̃1.FixedPrecisionApfloatHelper.hypergeometric0F1Regularized
(Apfloat a, Apfloat x) Regularized confluent hypergeometric function 0F̃1.static Apcomplex
ApcomplexMath.hypergeometric1F1
(Apcomplex a, Apcomplex b, Apcomplex z) Kummer confluent hypergeometric function 1F1.static Apfloat
ApfloatMath.hypergeometric1F1
(Apfloat a, Apfloat b, Apfloat x) Kummer confluent hypergeometric function 1F1.FixedPrecisionApcomplexHelper.hypergeometric1F1
(Apcomplex a, Apcomplex b, Apcomplex z) Kummer confluent hypergeometric function 1F1.FixedPrecisionApfloatHelper.hypergeometric1F1
(Apfloat a, Apfloat b, Apfloat x) Kummer confluent hypergeometric function 1F1.static Apcomplex
ApcomplexMath.hypergeometric1F1Regularized
(Apcomplex a, Apcomplex b, Apcomplex z) Regularized Kummer confluent hypergeometric function 1F̃1.static Apfloat
ApfloatMath.hypergeometric1F1Regularized
(Apfloat a, Apfloat b, Apfloat x) Regularized Kummer confluent hypergeometric function 1F̃1.FixedPrecisionApcomplexHelper.hypergeometric1F1Regularized
(Apcomplex a, Apcomplex b, Apcomplex z) Regularized Kummer confluent hypergeometric function 1F̃1.FixedPrecisionApfloatHelper.hypergeometric1F1Regularized
(Apfloat a, Apfloat b, Apfloat x) Regularized Kummer confluent hypergeometric function 1F̃1.static Apcomplex
ApcomplexMath.hypergeometric2F1
(Apcomplex a, Apcomplex b, Apcomplex c, Apcomplex z) Hypergeometric function 2F1.static Apfloat
ApfloatMath.hypergeometric2F1
(Apfloat a, Apfloat b, Apfloat c, Apfloat x) Hypergeometric function 2F1.FixedPrecisionApcomplexHelper.hypergeometric2F1
(Apcomplex a, Apcomplex b, Apcomplex c, Apcomplex z) Hypergeometric function 2F1.FixedPrecisionApfloatHelper.hypergeometric2F1
(Apfloat a, Apfloat b, Apfloat c, Apfloat x) Hypergeometric function 2F1.static Apcomplex
ApcomplexMath.hypergeometric2F1Regularized
(Apcomplex a, Apcomplex b, Apcomplex c, Apcomplex z) Regularized hypergeometric function 2F̃1.static Apfloat
ApfloatMath.hypergeometric2F1Regularized
(Apfloat a, Apfloat b, Apfloat c, Apfloat x) Regularized hypergeometric function 2F̃1.FixedPrecisionApcomplexHelper.hypergeometric2F1Regularized
(Apcomplex a, Apcomplex b, Apcomplex c, Apcomplex z) Regularized hypergeometric function 2F̃1.FixedPrecisionApfloatHelper.hypergeometric2F1Regularized
(Apfloat a, Apfloat b, Apfloat c, Apfloat x) Regularized hypergeometric function 2F̃1.static Apcomplex
ApcomplexMath.hypergeometricU
(Apcomplex a, Apcomplex b, Apcomplex z) Tricomi's confluent hypergeometric function U.static Apfloat
ApfloatMath.hypergeometricU
(Apfloat a, Apfloat b, Apfloat x) Tricomi's confluent hypergeometric function U.FixedPrecisionApcomplexHelper.hypergeometricU
(Apcomplex a, Apcomplex b, Apcomplex z) Tricomi's confluent hypergeometric function U.FixedPrecisionApfloatHelper.hypergeometricU
(Apfloat a, Apfloat b, Apfloat x) Tricomi's confluent hypergeometric function U.static Apfloat
ApfloatMath.inverseErf
(Apfloat x) Inverse error function.FixedPrecisionApfloatHelper.inverseErf
(Apfloat x) Inverse error function.static Apfloat
ApfloatMath.inverseErfc
(Apfloat x) Inverse complementary error function.FixedPrecisionApfloatHelper.inverseErfc
(Apfloat x) Inverse complementary error function.static Apcomplex
ApcomplexMath.inverseRoot
(Apcomplex z, long n) Inverse positive integer root.static Apcomplex
ApcomplexMath.inverseRoot
(Apcomplex z, long n, long k) Inverse positive integer root.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.FixedPrecisionApcomplexHelper.inverseRoot
(Apcomplex z, long n) Inverse root.FixedPrecisionApcomplexHelper.inverseRoot
(Apcomplex z, long n, long k) Inverse root with branch.FixedPrecisionApfloatHelper.inverseRoot
(Apfloat x, long n) Inverse root.boolean
Apcomplex.isInteger()
Returns if this number has an integer value.boolean
Apfloat.isInteger()
Returns if this number has an integer value.boolean
Apint.isInteger()
Returns if this number has an integer value.boolean
Aprational.isInteger()
Returns if this number has an integer value.boolean
Apfloat.isShort()
Returns if this apfloat is "short".boolean
Apint.isShort()
Returns if this apint is "short".boolean
Aprational.isShort()
Returns if this aprational is "short".boolean
Apcomplex.isZero()
Returns if this number is zero.static Apcomplex
Jacobi function.static Apfloat
Jacobi function.Jacobi function.Jacobi function.static Apfloat
ApfloatMath.khinchin
(long precision) Calculates Khinchin's constant, K.Uses the default radix.static Apfloat
ApfloatMath.khinchin
(long precision, int radix) Calculates Khinchin's constant, K.FixedPrecisionApcomplexHelper.khinchin()
Khinchin's constant K.FixedPrecisionApcomplexHelper.khinchin
(int radix) Khinchin's constant K.static Apcomplex
Laguerre function.static Apcomplex
Generalized Laguerre function.static Apfloat
Laguerre function.static Apfloat
Generalized Laguerre function.Laguerre function.Generalized Laguerre function.Laguerre function.Generalized Laguerre function.static Apint
Least common multiple.static Apcomplex
Legendre function.static Apcomplex
Associated Legendre function of the first kind.static Apfloat
Legendre function.static Apfloat
Associated Legendre function of the first kind.Legendre function.Associated Legendre function of the first kind.Legendre function.Associated Legendre function of the first kind.static Apcomplex
Legendre function of the second kind.static Apcomplex
Associated Legendre function of the second kind.static Apfloat
Legendre function of the second kind.static Apfloat
Associated Legendre function of the second kind.Legendre function of the second kind.Associated Legendre function of the second kind.Legendre function of the second kind.Associated Legendre function of the second kind.static Properties
ApfloatContext.loadProperties()
Loads properties from a properties file or resource bundle.static Apcomplex
Natural logarithm.static Apcomplex
Logarithm in arbitrary base.static Apfloat
Natural logarithm.static Apfloat
Logarithm in arbitrary base.Natural logarithm.Logarithm in specified base.Natural logarithm.Logarithm in specified base.static Apcomplex
Logarithm of the gamma function.static Apfloat
Logarithm of the gamma function.Logarithm of the gamma function.Logarithm of the gamma function.static Apcomplex
ApcomplexMath.logIntegral
(Apcomplex z) Logarithmic integral.static Apfloat
ApfloatMath.logIntegral
(Apfloat x) Logarithmic integral.FixedPrecisionApcomplexHelper.logIntegral
(Apcomplex z) Logarithmic integral.FixedPrecisionApfloatHelper.logIntegral
(Apfloat x) Logarithmic integral.static Apcomplex
ApcomplexMath.logisticSigmoid
(Apcomplex z) Logistic sigmoid.static Apfloat
ApfloatMath.logisticSigmoid
(Apfloat x) Logistic sigmoid.FixedPrecisionApcomplexHelper.logisticSigmoid
(Apcomplex z) Logistic sigmoid.FixedPrecisionApfloatHelper.logisticSigmoid
(Apfloat x) Logistic sigmoid.static Apfloat
ApfloatMath.logRadix
(long precision, int radix) Gets or calculates logarithm of a radix to required precision.FixedPrecisionApfloatHelper.logRadix
(int radix) Logarithm.static Aprational
AprationalMath.max
(Aprational x, Aprational y) Returns the greater of the two values.Maximum value.static Aprational
AprationalMath.min
(Aprational x, Aprational y) Returns the smaller of the two values.Minimum value.Calculates the remainder when divided by an apfloat.Calculates the remainder when divided by an apint.Aprational.mod
(Aprational x) Calculates the remainder when divided by an aprational.Modulus.static Apfloat[]
Split to integer and fractional parts.Apfloat[]
Split to integer and fractional parts.static Apint
ApintMath.modMultiply
(Apint a, Apint b, Apint m) Modular multiplication.static Apint
Modular power.Multiplies two apcomplex numbers.Multiplies two apfloats.Multiplies two apints.Aprational.multiply
(Aprational x) Multiplies two aprational numbers.Multiplication.Multiplication.static Apfloat
ApfloatMath.multiplyAdd
(Apfloat a, Apfloat b, Apfloat c, Apfloat d) Fused multiply-add.FixedPrecisionApfloatHelper.multiplyAdd
(Apfloat a, Apfloat b, Apfloat c, Apfloat d) Fused multiply-add.static Apfloat
ApfloatMath.multiplySubtract
(Apfloat a, Apfloat b, Apfloat c, Apfloat d) Fused multiply-subtract.FixedPrecisionApfloatHelper.multiplySubtract
(Apfloat a, Apfloat b, Apfloat c, Apfloat d) Fused multiply-subtract.Apcomplex.negate()
Negative value.static Apcomplex
Deprecated.Apfloat.negate()
Negative value.static Apfloat
Deprecated.UseApfloat.negate()
.Apint.negate()
Negative value.static Apint
Deprecated.UseApint.negate()
.Aprational.negate()
Negative value.static Aprational
AprationalMath.negate
(Aprational x) Deprecated.UseAprational.negate()
.Negation.Negation.The number adjacent to the first argument in the direction of the second argument.The adjacent value closer to negative infinity.The adjacent value closer to positive infinity.static Apfloat
Norm.Norm.static Apfloat
ApfloatMath.pi
(long precision) Calculates π.static Apfloat
ApfloatMath.pi
(long precision, int radix) Calculates π.FixedPrecisionApfloatHelper.pi()
π.FixedPrecisionApfloatHelper.pi
(int radix) π.static Apcomplex
ApcomplexMath.pochhammer
(Apcomplex z, Apcomplex n) Pochhammer symbol.static Apfloat
ApfloatMath.pochhammer
(Apfloat x, Apfloat n) Pochhammer symbol.FixedPrecisionApcomplexHelper.pochhammer
(Apcomplex z, Apcomplex n) Pochhammer symbol.FixedPrecisionApfloatHelper.pochhammer
(Apfloat x, Apfloat n) Pochhammer symbol.static Apcomplex
Polygamma function.static Apfloat
Polygamma function.Polygamma function.Polygamma function.static Apcomplex
Polylogarithm.static Apfloat
Polylogarithm.Polylogarithm.Polylogarithm.static Apcomplex
Integer power.static Apcomplex
Arbitrary power.static Apfloat
Integer power.static Apfloat
Arbitrary power.static Apint
Integer power.static Aprational
AprationalMath.pow
(Aprational x, long n) Integer power.Integer power.Power.Integer power.Power.long
Apcomplex.precision()
Returns the precision of this apcomplex.Apcomplex.precision
(long precision) Returns an apcomplex with the same value as this apcomplex accurate to the specified precision.long
Apfloat.precision()
Returns the precision of this apfloat.Apfloat.precision
(long precision) Returns an apfloat with the same value as this apfloat accurate to the specified precision.long
Aprational.precision()
Returns the precision of this aprational.static Apcomplex
Product of numbers.static Apfloat
Product of numbers.static Apint
Product of numbers.static Aprational
AprationalMath.product
(Aprational... x) Product of numbers.Product.Product.FixedPrecisionApfloatHelper.random()
Return a uniformly distributed random number0 ≤ x < 1
.FixedPrecisionApfloatHelper.random
(int radix) Return a uniformly distributed random number0 ≤ x < 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.static Apcomplex
Positive integer root.static Apcomplex
Positive integer root.static Apfloat
Positive integer root.static Apint[]
Positive integer root and remainder.Root.Root with branch.Root.static Apfloat
ApfloatMath.round
(Apfloat x, long precision, RoundingMode roundingMode) Deprecated.static Apfloat
AprationalMath.round
(Aprational x, long precision, RoundingMode roundingMode) Deprecated.FixedPrecisionApfloatHelper.round
(Apfloat x, RoundingMode roundingMode) Deprecated.static Apint
ApfloatMath.roundToInteger
(Apfloat x, RoundingMode roundingMode) Roundsx
to integer using the specified rounding mode.static Apint
AprationalMath.roundToInteger
(Aprational x, RoundingMode roundingMode) Roundsx
to integer using the specified rounding mode.FixedPrecisionApfloatHelper.roundToInteger
(Apfloat x, RoundingMode roundingMode) Round to integer with specified rounding mode.static Apfloat
ApfloatMath.roundToMultiple
(Apfloat x, Apfloat y, RoundingMode roundingMode) Roundsx
to the nearest multiple ofy
using the specified rounding mode.static Aprational
AprationalMath.roundToMultiple
(Aprational x, Aprational y, RoundingMode roundingMode) Roundsx
to the nearest multiple ofy
using the specified rounding mode.FixedPrecisionApfloatHelper.roundToMultiple
(Apfloat x, Apfloat y, RoundingMode roundingMode) Round to multiple with specified rounding mode.static Apfloat
ApfloatMath.roundToPlaces
(Apfloat x, long places, RoundingMode roundingMode) Roundsx
to the specified number of places using the specified rounding mode.static Apfloat
AprationalMath.roundToPlaces
(Aprational x, long places, RoundingMode roundingMode) Roundsx
to the specified number of places using the specified rounding mode.FixedPrecisionApfloatHelper.roundToPlaces
(Apfloat x, long places, RoundingMode roundingMode) Round to specified number of places with specified rounding mode.static Apfloat
ApfloatMath.roundToPrecision
(Apfloat x, long precision, RoundingMode roundingMode) Rounds the given number to the specified precision with the specified rounding mode.static Apfloat
AprationalMath.roundToPrecision
(Aprational x, long precision, RoundingMode roundingMode) Rounds the given number to the specified precision with the specified rounding mode.FixedPrecisionApfloatHelper.roundToPrecision
(Apfloat x, RoundingMode roundingMode) Round to precision with specified rounding mode.long
Apcomplex.scale()
Returns the scale of this apcomplex.static Apcomplex
Multiply by a power of the radix.long
Apfloat.scale()
Returns the scale of this apfloat.static Apfloat
Multiply by a power of the radix.long
Apint.scale()
Returns the scale of this apint.static Apint
Multiply by a power of the radix.long
Aprational.scale()
Returns the scale of this aprational.static Aprational
AprationalMath.scale
(Aprational x, long scale) Multiply by a power of the radix.Move the radix point.Move the radix point.static Apcomplex
Sine.static Apfloat
Sine.Sine.Sine.static Apcomplex
Sinc.static Apfloat
Sinc.Sinc.Sinc.static Apcomplex
Hyperbolic sine.static Apfloat
Hyperbolic sine.Hyperbolic sine.Hyperbolic sine.static Apcomplex
ApcomplexMath.sinhIntegral
(Apcomplex z) Hyperbolic sine integral.static Apfloat
ApfloatMath.sinhIntegral
(Apfloat x) Hyperbolic sine integral.FixedPrecisionApcomplexHelper.sinhIntegral
(Apcomplex z) Hyperbolic sine integral.FixedPrecisionApfloatHelper.sinhIntegral
(Apfloat x) Hyperbolic sine integral.static Apcomplex
ApcomplexMath.sinIntegral
(Apcomplex z) Sine integral.static Apfloat
ApfloatMath.sinIntegral
(Apfloat x) Sine integral.FixedPrecisionApcomplexHelper.sinIntegral
(Apcomplex z) Sine integral.FixedPrecisionApfloatHelper.sinIntegral
(Apfloat x) Sine integral.long
Apcomplex.size()
Returns the size of this apcomplex.long
Apfloat.size()
Returns the size of this apfloat.long
Apint.size()
Returns the size of this apint.long
Aprational.size()
Returns the size of this aprational.static Apcomplex
ApcomplexMath.sphericalHarmonicY
(Apcomplex λ, Apcomplex μ, Apcomplex ϑ, Apcomplex ϕ) Spherical harmonic function.FixedPrecisionApcomplexHelper.sphericalHarmonicY
(Apcomplex λ, Apcomplex μ, Apcomplex ϑ, Apcomplex ϕ) Spherical harmonic function.static Apcomplex
Square root.static Apfloat
Square root.static Apint[]
Square root and remainder.Square root.Square root.Subtracts two apcomplex numbers.Subtracts two apfloats.Subtracts two apints.Aprational.subtract
(Aprational x) Subtracts two aprational numbers.Subtraction.Subtraction.static Apcomplex
Sum of numbers.static Apfloat
Sum of numbers.static Apint
Sum of numbers.static Aprational
AprationalMath.sum
(Aprational... x) Sum of numbers.Sum.Sum.static Apcomplex
Tangent.static Apfloat
Tangent.Tangent.Tangent.static Apcomplex
Hyperbolic tangent.static Apfloat
Hyperbolic tangent.Hyperbolic tangent.Hyperbolic tangent.boolean
Tests two apcomplex numbers for equality.boolean
Tests two apfloat numbers for equality.boolean
static Apfloat
Converts an angle measured in radians to degrees.Convert radians to degrees.static Apfloat
Converts an angle measured in degrees to radians.Convert degrees to radians.Apcomplex.toRadix
(int radix) Convert this apcomplex to the specified radix.Apfloat.toRadix
(int radix) Convert this apfloat to the specified radix.Apint.toRadix
(int radix) Convert this apint to the specified radix.Aprational.toRadix
(int radix) Convert this aprational to the specified radix.Apcomplex.toString
(boolean pretty) Returns a string representation of this apcomplex.Apfloat.toString
(boolean pretty) Returns a string representation of this apfloat.Apint.toString
(boolean pretty) Returns a string representation of this aprational.Aprational.toString
(boolean pretty) Returns a string representation of this aprational.Apfloat.truncate()
Truncates fractional part.static Apint
Truncates fractional part.Aprational.truncate()
Truncates fractional part.Truncate fractional part.Unit in the last place.Unit in the last place.Returns the value with the specified precision.static Apcomplex
Lambert W function.static Apcomplex
Lambert W function for the specified branch.static Apfloat
Lambert W function.Lambert W function.Lambert W function for the specified branch.Lambert W function.void
Write a string representation of this apcomplex to aWriter
.void
Write a string representation of this apcomplex to aWriter
.void
Write a string representation of this apfloat to aWriter
.void
Write a string representation of this aprational to aWriter
.void
Write a string representation of this aprational to aWriter
.void
Write a string representation of this aprational to aWriter
.static Apcomplex
Riemann zeta function.static Apcomplex
Hurwitz zeta function.static Apfloat
Riemann zeta function.static Apfloat
Hurwitz zeta function.Riemann zeta function.Hurwitz zeta function.Riemann zeta function.Hurwitz zeta function.Constructors in org.apfloat that throw ApfloatRuntimeExceptionModifierConstructorDescriptionReads an apcomplex from a reader.Constructs an apcomplex from a string.Apfloat
(double value) Constructs an apfloat from the specifieddouble
.Apfloat
(double value, long precision) Constructs an apfloat from the specifieddouble
and precision.Apfloat
(double value, long precision, int radix) Constructs an apfloat from the specifieddouble
, precision and radix.Apfloat
(float value) Constructs an apfloat from the specifiedfloat
.Apfloat
(float value, long precision) Constructs an apfloat from the specifiedfloat
and precision.Apfloat
(float value, long precision, int radix) Constructs an apfloat from the specifiedfloat
, precision and radix.Apfloat
(long value) Constructs an apfloat from the specifiedlong
.Apfloat
(long value, long precision) Constructs an apfloat from the specifiedlong
and precision.Apfloat
(long value, long precision, int radix) Constructs an apfloat from the specifiedlong
, precision and radix.Reads an apfloat from a stream using default precision and radix.Apfloat
(PushbackReader in, long precision) Reads an apfloat from a stream using the specified precision.Apfloat
(PushbackReader in, long precision, int radix) Reads an apfloat from a stream using the specified precision and radix.Constructs an apfloat from the specified string.Constructs an apfloat from the specified string and precision.Constructs an apfloat from the specified string, precision and radix.Apfloat
(BigDecimal value) Creates an apfloat from aBigDecimal
.Apfloat
(BigDecimal value, long precision) Creates an apfloat from aBigDecimal
.Apfloat
(BigInteger value) Constructs an apfloat from aBigInteger
.Apfloat
(BigInteger value, long precision) Constructs an apfloat from aBigInteger
with the specified precision.Apfloat
(BigInteger value, long precision, int radix) Constructs an apfloat from aBigInteger
with the specified precision and radix.Apint
(long value) Constructs an apfloat from the specifiedlong
.Apint
(long value, int radix) Constructs an apfloat from the specifiedlong
and radix.Apint
(PushbackReader in) Reads an apint from a stream using the default radix.Apint
(PushbackReader in, int radix) Reads an apint from a stream using the specified radix.Constructs an apfloat from the specified string.Constructs an apfloat from the specified string and radix.Apint
(BigInteger value) Constructs an apint from aBigInteger
.Apint
(BigInteger value, int radix) Constructs an apint from aBigInteger
using the specified radix.Aprational
(double value) Constructs an aprational from adouble
.Aprational
(double value, int radix) Constructs an aprational from adouble
using the specified radix.Reads an aprational from a reader.Aprational
(PushbackReader in, int radix) Reads an aprational from a reader.Aprational
(String value) Constructs an aprational from a string.Aprational
(String value, int radix) Constructs an aprational from a string with the specified radix.Aprational
(BigInteger value) Constructs an aprational from aBigInteger
.Aprational
(BigInteger value, int radix) Constructs an aprational from aBigInteger
using the specified radix.Aprational
(Apint value) Construct an integer aprational whose denominator is one.Aprational
(Apint numerator, Apint denominator) Construct an aprational with the specified numerator and denominator. -
Uses of ApfloatRuntimeException in org.apfloat.aparapi
Methods in org.apfloat.aparapi that throw ApfloatRuntimeExceptionModifier and TypeMethodDescriptionvoid
IntAparapiFactor3NTTStrategy.inverseTransform
(DataStorage dataStorage, int modulus, long totalTransformLength) void
LongAparapiFactor3NTTStrategy.inverseTransform
(DataStorage dataStorage, int modulus, long totalTransformLength) void
IntAparapiNTTStepStrategy.multiplyElements
(ArrayAccess arrayAccess, int startRow, int startColumn, int rows, int columns, long length, long totalTransformLength, boolean isInverse, int modulus) void
LongAparapiNTTStepStrategy.multiplyElements
(ArrayAccess arrayAccess, int startRow, int startColumn, int rows, int columns, long length, long totalTransformLength, boolean isInverse, int modulus) void
IntAparapiMatrixStrategy.permuteToDoubleWidth
(ArrayAccess arrayAccess, int n1, int n2) void
LongAparapiMatrixStrategy.permuteToDoubleWidth
(ArrayAccess arrayAccess, int n1, int n2) void
IntAparapiMatrixStrategy.permuteToHalfWidth
(ArrayAccess arrayAccess, int n1, int n2) void
LongAparapiMatrixStrategy.permuteToHalfWidth
(ArrayAccess arrayAccess, int n1, int n2) void
IntAparapiFactor3NTTStrategy.transform
(DataStorage dataStorage, int modulus) void
LongAparapiFactor3NTTStrategy.transform
(DataStorage dataStorage, int modulus) void
IntAparapiFactor3NTTStepStrategy.transformColumns
(DataStorage dataStorage0, DataStorage dataStorage1, DataStorage dataStorage2, long startColumn, long columns, long power2length, long length, boolean isInverse, int modulus) void
LongAparapiFactor3NTTStepStrategy.transformColumns
(DataStorage dataStorage0, DataStorage dataStorage1, DataStorage dataStorage2, long startColumn, long columns, long power2length, long length, boolean isInverse, int modulus) void
IntAparapiNTTStepStrategy.transformRows
(ArrayAccess arrayAccess, int length, int count, boolean isInverse, boolean permute, int modulus) Transform the columns of the data matrix.void
LongAparapiNTTStepStrategy.transformRows
(ArrayAccess arrayAccess, int length, int count, boolean isInverse, boolean permute, int modulus) Transform the columns of the data matrix.void
IntAparapiMatrixStrategy.transpose
(ArrayAccess arrayAccess, int n1, int n2) void
LongAparapiMatrixStrategy.transpose
(ArrayAccess arrayAccess, int n1, int n2) void
IntAparapiMatrixStrategy.transposeSquare
(ArrayAccess arrayAccess, int n1, int n2) void
LongAparapiMatrixStrategy.transposeSquare
(ArrayAccess arrayAccess, int n1, int n2) -
Uses of ApfloatRuntimeException in org.apfloat.internal
Subclasses of ApfloatRuntimeException in org.apfloat.internalModifier and TypeClassDescriptionclass
Exception indicating some unexpected apfloat implementation specific error situation.class
Exception indicating a backing storage failure.class
Exception indicating a different implementation of the apfloat SPI being used in two operands of a calculation.class
Exception indicating a different radix being used in two operands of a calculation.class
Exception indicating that the "size" of the numbers used in a multiplication is too large.Methods in org.apfloat.internal that throw ApfloatRuntimeExceptionModifier and TypeMethodDescriptionDoubleApfloatImpl.absCeil()
FloatApfloatImpl.absCeil()
IntApfloatImpl.absCeil()
LongApfloatImpl.absCeil()
DoubleApfloatImpl.absFloor()
FloatApfloatImpl.absFloor()
IntApfloatImpl.absFloor()
LongApfloatImpl.absFloor()
DoubleAdditionStrategy.add
(DataStorage.Iterator src1, DataStorage.Iterator src2, Double carry, DataStorage.Iterator dst, long size) FloatAdditionStrategy.add
(DataStorage.Iterator src1, DataStorage.Iterator src2, Float carry, DataStorage.Iterator dst, long size) IntAdditionStrategy.add
(DataStorage.Iterator src1, DataStorage.Iterator src2, Integer carry, DataStorage.Iterator dst, long size) LongAdditionStrategy.add
(DataStorage.Iterator src1, DataStorage.Iterator src2, Long carry, DataStorage.Iterator dst, long size) DoubleApfloatImpl.addOrSubtract
(ApfloatImpl x, boolean subtract) FloatApfloatImpl.addOrSubtract
(ApfloatImpl x, boolean subtract) IntApfloatImpl.addOrSubtract
(ApfloatImpl x, boolean subtract) LongApfloatImpl.addOrSubtract
(ApfloatImpl x, boolean subtract) protected DataStorage
ThreeNTTConvolutionStrategy.autoConvolute
(DataStorage x, long resultSize) Convolutes a data set with itself.protected DataStorage
ThreeNTTConvolutionStrategy.autoConvoluteOne
(DataStorage x, long length, int modulus, boolean cached) Performs an autoconvolution modulo one modulus, of the specified transform length.double
DoubleBaseMath.baseAdd
(DataStorage.Iterator src1, DataStorage.Iterator src2, double carry, DataStorage.Iterator dst, long size) Addition in some base.float
FloatBaseMath.baseAdd
(DataStorage.Iterator src1, DataStorage.Iterator src2, float carry, DataStorage.Iterator dst, long size) Addition in some base.int
IntBaseMath.baseAdd
(DataStorage.Iterator src1, DataStorage.Iterator src2, int carry, DataStorage.Iterator dst, long size) Addition in some base.long
LongBaseMath.baseAdd
(DataStorage.Iterator src1, DataStorage.Iterator src2, long carry, DataStorage.Iterator dst, long size) Addition in some base.double
DoubleBaseMath.baseDivide
(DataStorage.Iterator src1, double src2, double carry, DataStorage.Iterator dst, long size) Division in some base.float
FloatBaseMath.baseDivide
(DataStorage.Iterator src1, float src2, float carry, DataStorage.Iterator dst, long size) Division in some base.int
IntBaseMath.baseDivide
(DataStorage.Iterator src1, int src2, int carry, DataStorage.Iterator dst, long size) Division in some base.long
LongBaseMath.baseDivide
(DataStorage.Iterator src1, long src2, long carry, DataStorage.Iterator dst, long size) Division in some base.double
DoubleBaseMath.baseMultiplyAdd
(DataStorage.Iterator src1, DataStorage.Iterator src2, double src3, double carry, DataStorage.Iterator dst, long size) Multiplication and addition in some base.float
FloatBaseMath.baseMultiplyAdd
(DataStorage.Iterator src1, DataStorage.Iterator src2, float src3, float carry, DataStorage.Iterator dst, long size) Multiplication and addition in some base.int
IntBaseMath.baseMultiplyAdd
(DataStorage.Iterator src1, DataStorage.Iterator src2, int src3, int carry, DataStorage.Iterator dst, long size) Multiplication and addition in some base.long
LongBaseMath.baseMultiplyAdd
(DataStorage.Iterator src1, DataStorage.Iterator src2, long src3, long carry, DataStorage.Iterator dst, long size) Multiplication and addition in some base.double
DoubleBaseMath.baseSubtract
(DataStorage.Iterator src1, DataStorage.Iterator src2, double carry, DataStorage.Iterator dst, long size) Subtraction in some base.float
FloatBaseMath.baseSubtract
(DataStorage.Iterator src1, DataStorage.Iterator src2, float carry, DataStorage.Iterator dst, long size) Subtraction in some base.int
IntBaseMath.baseSubtract
(DataStorage.Iterator src1, DataStorage.Iterator src2, int carry, DataStorage.Iterator dst, long size) Subtraction in some base.long
LongBaseMath.baseSubtract
(DataStorage.Iterator src1, DataStorage.Iterator src2, long carry, DataStorage.Iterator dst, long size) Subtraction in some base.double[]
DoubleCarryCRTStepStrategy.carry
(DataStorage dataStorage, long size, long resultSize, long offset, long length, double[] results, double[] previousResults) float[]
FloatCarryCRTStepStrategy.carry
(DataStorage dataStorage, long size, long resultSize, long offset, long length, float[] results, float[] previousResults) int[]
IntCarryCRTStepStrategy.carry
(DataStorage dataStorage, long size, long resultSize, long offset, long length, int[] results, int[] previousResults) long[]
LongCarryCRTStepStrategy.carry
(DataStorage dataStorage, long size, long resultSize, long offset, long length, long[] results, long[] previousResults) StepCarryCRTStrategy.carryCRT
(DataStorage resultMod0, DataStorage resultMod1, DataStorage resultMod2, long resultSize) Calculate the final result of a three-NTT convolution.void
DoubleMemoryArrayAccess.close()
void
FloatMemoryArrayAccess.close()
void
IntMemoryArrayAccess.close()
void
LongMemoryArrayAccess.close()
int
DoubleApfloatImpl.compareTo
(ApfloatImpl x) int
FloatApfloatImpl.compareTo
(ApfloatImpl x) int
IntApfloatImpl.compareTo
(ApfloatImpl x) int
LongApfloatImpl.compareTo
(ApfloatImpl x) DoubleKaratsubaConvolutionStrategy.convolute
(DataStorage x, DataStorage y, long resultSize) DoubleMediumConvolutionStrategy.convolute
(DataStorage x, DataStorage y, long resultSize) DoubleShortConvolutionStrategy.convolute
(DataStorage x, DataStorage y, long resultSize) FloatKaratsubaConvolutionStrategy.convolute
(DataStorage x, DataStorage y, long resultSize) FloatMediumConvolutionStrategy.convolute
(DataStorage x, DataStorage y, long resultSize) FloatShortConvolutionStrategy.convolute
(DataStorage x, DataStorage y, long resultSize) IntKaratsubaConvolutionStrategy.convolute
(DataStorage x, DataStorage y, long resultSize) IntMediumConvolutionStrategy.convolute
(DataStorage x, DataStorage y, long resultSize) IntShortConvolutionStrategy.convolute
(DataStorage x, DataStorage y, long resultSize) LongKaratsubaConvolutionStrategy.convolute
(DataStorage x, DataStorage y, long resultSize) LongMediumConvolutionStrategy.convolute
(DataStorage x, DataStorage y, long resultSize) LongShortConvolutionStrategy.convolute
(DataStorage x, DataStorage y, long resultSize) ThreeNTTConvolutionStrategy.convolute
(DataStorage x, DataStorage y, long resultSize) protected DataStorage
ThreeNTTConvolutionStrategy.convoluteOne
(DataStorage x, DataStorage y, long length, int modulus, boolean cached) Performs a convolution modulo one modulus, of the specified transform length.DoubleApfloatBuilder.createApfloat
(double value, long precision, int radix) DoubleApfloatBuilder.createApfloat
(long value, long precision, int radix) DoubleApfloatBuilder.createApfloat
(PushbackReader in, long precision, int radix, boolean isInteger) DoubleApfloatBuilder.createApfloat
(String value, long precision, int radix, boolean isInteger) FloatApfloatBuilder.createApfloat
(double value, long precision, int radix) FloatApfloatBuilder.createApfloat
(long value, long precision, int radix) FloatApfloatBuilder.createApfloat
(PushbackReader in, long precision, int radix, boolean isInteger) FloatApfloatBuilder.createApfloat
(String value, long precision, int radix, boolean isInteger) IntApfloatBuilder.createApfloat
(double value, long precision, int radix) IntApfloatBuilder.createApfloat
(long value, long precision, int radix) IntApfloatBuilder.createApfloat
(PushbackReader in, long precision, int radix, boolean isInteger) IntApfloatBuilder.createApfloat
(String value, long precision, int radix, boolean isInteger) LongApfloatBuilder.createApfloat
(double value, long precision, int radix) LongApfloatBuilder.createApfloat
(long value, long precision, int radix) LongApfloatBuilder.createApfloat
(PushbackReader in, long precision, int radix, boolean isInteger) LongApfloatBuilder.createApfloat
(String value, long precision, int radix, boolean isInteger) protected abstract DataStorage
AbstractDataStorageBuilder.createCachedDataStorage()
Create a cached data storage.AbstractDataStorageBuilder.createCachedDataStorage
(long size) protected DataStorage
DoubleDataStorageBuilder.createCachedDataStorage()
protected DataStorage
FloatDataStorageBuilder.createCachedDataStorage()
protected DataStorage
IntDataStorageBuilder.createCachedDataStorage()
protected DataStorage
LongDataStorageBuilder.createCachedDataStorage()
protected DataStorage
ThreeNTTConvolutionStrategy.createCachedDataStorage
(long size) Create a cached (if possible) data storage for the specified number of elements.AbstractDataStorageBuilder.createDataStorage
(long size) AbstractDataStorageBuilder.createDataStorage
(DataStorage dataStorage) protected DataStorage
ThreeNTTConvolutionStrategy.createDataStorage
(DataStorage dataStorage) Create a cached data storage from the (possibly) cached data storage.protected ParallelRunnable
DoubleNTTStepStrategy.createMultiplyElementsParallelRunnable
(ArrayAccess arrayAccess, int startRow, int startColumn, int rows, int columns, long length, long totalTransformLength, boolean isInverse, int modulus) Create a ParallelRunnable object for multiplying the elements of the matrix.protected ParallelRunnable
FloatNTTStepStrategy.createMultiplyElementsParallelRunnable
(ArrayAccess arrayAccess, int startRow, int startColumn, int rows, int columns, long length, long totalTransformLength, boolean isInverse, int modulus) Create a ParallelRunnable object for multiplying the elements of the matrix.protected ParallelRunnable
IntNTTStepStrategy.createMultiplyElementsParallelRunnable
(ArrayAccess arrayAccess, int startRow, int startColumn, int rows, int columns, long length, long totalTransformLength, boolean isInverse, int modulus) Create a ParallelRunnable object for multiplying the elements of the matrix.protected ParallelRunnable
LongNTTStepStrategy.createMultiplyElementsParallelRunnable
(ArrayAccess arrayAccess, int startRow, int startColumn, int rows, int columns, long length, long totalTransformLength, boolean isInverse, int modulus) Create a ParallelRunnable object for multiplying the elements of the matrix.protected abstract DataStorage
AbstractDataStorageBuilder.createNonCachedDataStorage()
Create a non-cached data storage.protected DataStorage
DoubleDataStorageBuilder.createNonCachedDataStorage()
protected DataStorage
FloatDataStorageBuilder.createNonCachedDataStorage()
protected DataStorage
IntDataStorageBuilder.createNonCachedDataStorage()
protected DataStorage
LongDataStorageBuilder.createNonCachedDataStorage()
protected ParallelRunnable
DoubleNTTStepStrategy.createTransformRowsParallelRunnable
(ArrayAccess arrayAccess, int length, int count, boolean isInverse, boolean permute, int modulus) Create a ParallelRunnable object for transforming the rows of the matrix.protected ParallelRunnable
FloatNTTStepStrategy.createTransformRowsParallelRunnable
(ArrayAccess arrayAccess, int length, int count, boolean isInverse, boolean permute, int modulus) Create a ParallelRunnable object for transforming the rows of the matrix.protected ParallelRunnable
IntNTTStepStrategy.createTransformRowsParallelRunnable
(ArrayAccess arrayAccess, int length, int count, boolean isInverse, boolean permute, int modulus) Create a ParallelRunnable object for transforming the rows of the matrix.protected ParallelRunnable
LongNTTStepStrategy.createTransformRowsParallelRunnable
(ArrayAccess arrayAccess, int length, int count, boolean isInverse, boolean permute, int modulus) Create a ParallelRunnable object for transforming the rows of the matrix.double[]
DoubleCarryCRTStepStrategy.crt
(DataStorage resultMod0, DataStorage resultMod1, DataStorage resultMod2, DataStorage dataStorage, long size, long resultSize, long offset, long length) float[]
FloatCarryCRTStepStrategy.crt
(DataStorage resultMod0, DataStorage resultMod1, DataStorage resultMod2, DataStorage dataStorage, long size, long resultSize, long offset, long length) int[]
IntCarryCRTStepStrategy.crt
(DataStorage resultMod0, DataStorage resultMod1, DataStorage resultMod2, DataStorage dataStorage, long size, long resultSize, long offset, long length) long[]
LongCarryCRTStepStrategy.crt
(DataStorage resultMod0, DataStorage resultMod1, DataStorage resultMod2, DataStorage dataStorage, long size, long resultSize, long offset, long length) DoubleAdditionStrategy.divide
(DataStorage.Iterator src1, Double src2, Double carry, DataStorage.Iterator dst, long size) FloatAdditionStrategy.divide
(DataStorage.Iterator src1, Float src2, Float carry, DataStorage.Iterator dst, long size) IntAdditionStrategy.divide
(DataStorage.Iterator src1, Integer src2, Integer carry, DataStorage.Iterator dst, long size) LongAdditionStrategy.divide
(DataStorage.Iterator src1, Long src2, Long carry, DataStorage.Iterator dst, long size) DoubleApfloatImpl.divideShort
(ApfloatImpl x) FloatApfloatImpl.divideShort
(ApfloatImpl x) IntApfloatImpl.divideShort
(ApfloatImpl x) LongApfloatImpl.divideShort
(ApfloatImpl x) long
DoubleApfloatImpl.equalDigits
(ApfloatImpl x) long
FloatApfloatImpl.equalDigits
(ApfloatImpl x) long
IntApfloatImpl.equalDigits
(ApfloatImpl x) long
LongApfloatImpl.equalDigits
(ApfloatImpl x) DoubleApfloatImpl.frac()
FloatApfloatImpl.frac()
IntApfloatImpl.frac()
LongApfloatImpl.frac()
void
DoubleBuilderFactory.gc()
void
FloatBuilderFactory.gc()
void
IntBuilderFactory.gc()
void
LongBuilderFactory.gc()
protected void
DiskDataStorage.implCopyFrom
(DataStorage dataStorage, long size) protected void
DoubleMemoryDataStorage.implCopyFrom
(DataStorage dataStorage, long size) protected void
FloatMemoryDataStorage.implCopyFrom
(DataStorage dataStorage, long size) protected void
IntMemoryDataStorage.implCopyFrom
(DataStorage dataStorage, long size) protected void
LongMemoryDataStorage.implCopyFrom
(DataStorage dataStorage, long size) protected ArrayAccess
DiskDataStorage.implGetArray
(int mode, int startColumn, int columns, int rows) protected ArrayAccess
DoubleDiskDataStorage.implGetArray
(int mode, long offset, int length) protected ArrayAccess
DoubleMemoryDataStorage.implGetArray
(int mode, int startColumn, int columns, int rows) protected ArrayAccess
DoubleMemoryDataStorage.implGetArray
(int mode, long offset, int length) protected ArrayAccess
FloatDiskDataStorage.implGetArray
(int mode, long offset, int length) protected ArrayAccess
FloatMemoryDataStorage.implGetArray
(int mode, int startColumn, int columns, int rows) protected ArrayAccess
FloatMemoryDataStorage.implGetArray
(int mode, long offset, int length) protected ArrayAccess
IntDiskDataStorage.implGetArray
(int mode, long offset, int length) protected ArrayAccess
IntMemoryDataStorage.implGetArray
(int mode, int startColumn, int columns, int rows) protected ArrayAccess
IntMemoryDataStorage.implGetArray
(int mode, long offset, int length) protected ArrayAccess
LongDiskDataStorage.implGetArray
(int mode, long offset, int length) protected ArrayAccess
LongMemoryDataStorage.implGetArray
(int mode, int startColumn, int columns, int rows) protected ArrayAccess
LongMemoryDataStorage.implGetArray
(int mode, long offset, int length) protected long
DiskDataStorage.implGetSize()
protected ArrayAccess
DiskDataStorage.implGetTransposedArray
(int mode, int startColumn, int columns, int rows) protected ArrayAccess
DoubleMemoryDataStorage.implGetTransposedArray
(int mode, int startColumn, int columns, int rows) protected ArrayAccess
FloatMemoryDataStorage.implGetTransposedArray
(int mode, int startColumn, int columns, int rows) protected ArrayAccess
IntMemoryDataStorage.implGetTransposedArray
(int mode, int startColumn, int columns, int rows) protected ArrayAccess
LongMemoryDataStorage.implGetTransposedArray
(int mode, int startColumn, int columns, int rows) protected void
DiskDataStorage.implSetSize
(long size) protected void
DoubleMemoryDataStorage.implSetSize
(long size) protected void
FloatMemoryDataStorage.implSetSize
(long size) protected void
IntMemoryDataStorage.implSetSize
(long size) protected void
LongMemoryDataStorage.implSetSize
(long size) protected DataStorage
DoubleDiskDataStorage.implSubsequence
(long offset, long length) protected DataStorage
DoubleMemoryDataStorage.implSubsequence
(long offset, long length) protected DataStorage
FloatDiskDataStorage.implSubsequence
(long offset, long length) protected DataStorage
FloatMemoryDataStorage.implSubsequence
(long offset, long length) protected DataStorage
IntDiskDataStorage.implSubsequence
(long offset, long length) protected DataStorage
IntMemoryDataStorage.implSubsequence
(long offset, long length) protected DataStorage
LongDiskDataStorage.implSubsequence
(long offset, long length) protected DataStorage
LongMemoryDataStorage.implSubsequence
(long offset, long length) void
DoubleTableFNT.inverseTableFNT
(ArrayAccess arrayAccess, double[] wTable, int[] permutationTable) Inverse (Cooley-Tukey) fast Number Theoretic Transform.void
FloatTableFNT.inverseTableFNT
(ArrayAccess arrayAccess, float[] wTable, int[] permutationTable) Inverse (Cooley-Tukey) fast Number Theoretic Transform.void
IntTableFNT.inverseTableFNT
(ArrayAccess arrayAccess, int[] wTable, int[] permutationTable) Inverse (Cooley-Tukey) fast Number Theoretic Transform.void
LongTableFNT.inverseTableFNT
(ArrayAccess arrayAccess, long[] wTable, int[] permutationTable) Inverse (Cooley-Tukey) fast Number Theoretic Transform.protected abstract void
AbstractStepFNTStrategy.inverseTransform
(DataStorage dataStorage, int n1, int n2, long length, long totalTransformLength, int modulus) Inverse transform the data in steps.void
AbstractStepFNTStrategy.inverseTransform
(DataStorage dataStorage, int modulus, long totalTransformLength) void
DoubleTableFNTStrategy.inverseTransform
(DataStorage dataStorage, int modulus, long totalTransformLength) void
Factor3NTTStrategy.inverseTransform
(DataStorage dataStorage, int modulus, long totalTransformLength) void
FloatTableFNTStrategy.inverseTransform
(DataStorage dataStorage, int modulus, long totalTransformLength) void
IntTableFNTStrategy.inverseTransform
(DataStorage dataStorage, int modulus, long totalTransformLength) void
LongTableFNTStrategy.inverseTransform
(DataStorage dataStorage, int modulus, long totalTransformLength) protected void
SixStepFNTStrategy.inverseTransform
(DataStorage dataStorage, int n1, int n2, long length, long totalTransformLength, int modulus) protected void
TwoPassFNTStrategy.inverseTransform
(DataStorage dataStorage, int n1, int n2, long length, long totalTransformLength, int modulus) protected abstract boolean
AbstractDataStorageBuilder.isCached
(DataStorage dataStorage) Test if the data storage is of cached type.protected boolean
DoubleDataStorageBuilder.isCached
(DataStorage dataStorage) protected boolean
FloatDataStorageBuilder.isCached
(DataStorage dataStorage) protected boolean
IntDataStorageBuilder.isCached
(DataStorage dataStorage) protected boolean
LongDataStorageBuilder.isCached
(DataStorage dataStorage) boolean
DoubleApfloatImpl.isOne()
boolean
FloatApfloatImpl.isOne()
boolean
IntApfloatImpl.isOne()
boolean
LongApfloatImpl.isOne()
boolean
DoubleApfloatImpl.isShort()
boolean
FloatApfloatImpl.isShort()
boolean
IntApfloatImpl.isShort()
boolean
LongApfloatImpl.isShort()
DoubleDiskDataStorage.iterator
(int mode, long startPosition, long endPosition) DoubleMemoryDataStorage.iterator
(int mode, long startPosition, long endPosition) FloatDiskDataStorage.iterator
(int mode, long startPosition, long endPosition) FloatMemoryDataStorage.iterator
(int mode, long startPosition, long endPosition) IntDiskDataStorage.iterator
(int mode, long startPosition, long endPosition) IntMemoryDataStorage.iterator
(int mode, long startPosition, long endPosition) LongDiskDataStorage.iterator
(int mode, long startPosition, long endPosition) LongMemoryDataStorage.iterator
(int mode, long startPosition, long endPosition) DoubleApfloatImpl.multiply
(ApfloatImpl x) FloatApfloatImpl.multiply
(ApfloatImpl x) IntApfloatImpl.multiply
(ApfloatImpl x) LongApfloatImpl.multiply
(ApfloatImpl x) DoubleAdditionStrategy.multiplyAdd
(DataStorage.Iterator src1, DataStorage.Iterator src2, Double src3, Double carry, DataStorage.Iterator dst, long size) FloatAdditionStrategy.multiplyAdd
(DataStorage.Iterator src1, DataStorage.Iterator src2, Float src3, Float carry, DataStorage.Iterator dst, long size) IntAdditionStrategy.multiplyAdd
(DataStorage.Iterator src1, DataStorage.Iterator src2, Integer src3, Integer carry, DataStorage.Iterator dst, long size) LongAdditionStrategy.multiplyAdd
(DataStorage.Iterator src1, DataStorage.Iterator src2, Long src3, Long carry, DataStorage.Iterator dst, long size) void
DoubleNTTStepStrategy.multiplyElements
(ArrayAccess arrayAccess, int startRow, int startColumn, int rows, int columns, long length, long totalTransformLength, boolean isInverse, int modulus) void
FloatNTTStepStrategy.multiplyElements
(ArrayAccess arrayAccess, int startRow, int startColumn, int rows, int columns, long length, long totalTransformLength, boolean isInverse, int modulus) void
IntNTTStepStrategy.multiplyElements
(ArrayAccess arrayAccess, int startRow, int startColumn, int rows, int columns, long length, long totalTransformLength, boolean isInverse, int modulus) void
LongNTTStepStrategy.multiplyElements
(ArrayAccess arrayAccess, int startRow, int startColumn, int rows, int columns, long length, long totalTransformLength, boolean isInverse, int modulus) void
DoubleNTTConvolutionStepStrategy.multiplyInPlace
(DataStorage sourceAndDestination, DataStorage source, int modulus) void
FloatNTTConvolutionStepStrategy.multiplyInPlace
(DataStorage sourceAndDestination, DataStorage source, int modulus) void
IntNTTConvolutionStepStrategy.multiplyInPlace
(DataStorage sourceAndDestination, DataStorage source, int modulus) void
LongNTTConvolutionStepStrategy.multiplyInPlace
(DataStorage sourceAndDestination, DataStorage source, int modulus) DoubleApfloatImpl.negate()
FloatApfloatImpl.negate()
IntApfloatImpl.negate()
LongApfloatImpl.negate()
void
DoubleMatrixStrategy.permuteToDoubleWidth
(ArrayAccess arrayAccess, int n1, int n2) Permute the rows of the n1 x n2 matrix so that it is shaped like a n1/2 x 2*n2 matrix.void
FloatMatrixStrategy.permuteToDoubleWidth
(ArrayAccess arrayAccess, int n1, int n2) Permute the rows of the n1 x n2 matrix so that it is shaped like a n1/2 x 2*n2 matrix.void
IntMatrixStrategy.permuteToDoubleWidth
(ArrayAccess arrayAccess, int n1, int n2) Permute the rows of the n1 x n2 matrix so that it is shaped like a n1/2 x 2*n2 matrix.void
LongMatrixStrategy.permuteToDoubleWidth
(ArrayAccess arrayAccess, int n1, int n2) Permute the rows of the n1 x n2 matrix so that it is shaped like a n1/2 x 2*n2 matrix.void
DoubleMatrixStrategy.permuteToHalfWidth
(ArrayAccess arrayAccess, int n1, int n2) Permute the rows of the n1 x n2 matrix so that it is shaped like a 2*n1 x n2/2 matrix.void
FloatMatrixStrategy.permuteToHalfWidth
(ArrayAccess arrayAccess, int n1, int n2) Permute the rows of the n1 x n2 matrix so that it is shaped like a 2*n1 x n2/2 matrix.void
IntMatrixStrategy.permuteToHalfWidth
(ArrayAccess arrayAccess, int n1, int n2) Permute the rows of the n1 x n2 matrix so that it is shaped like a 2*n1 x n2/2 matrix.void
LongMatrixStrategy.permuteToHalfWidth
(ArrayAccess arrayAccess, int n1, int n2) Permute the rows of the n1 x n2 matrix so that it is shaped like a 2*n1 x n2/2 matrix.MessagePasser.receiveMessage
(K receiver) Receive a message.static void
ParallelRunner.runParallel
(ParallelRunnable parallelRunnable) Run a ParallelRunnable object in parallel using multiple threads.long
DoubleApfloatImpl.scale()
long
FloatApfloatImpl.scale()
long
IntApfloatImpl.scale()
long
LongApfloatImpl.scale()
protected void
DiskDataStorage.setArray
(ArrayAccess arrayAccess, int startColumn, int columns, int rows) Write the data back to the same location in the file that was retrieved withDiskDataStorage.implGetArray(int,int,int,int)
.protected void
DiskDataStorage.setTransposedArray
(ArrayAccess arrayAccess, int startColumn, int columns, int rows) Write the data back to the same location in the file that was retrieved withDiskDataStorage.implGetTransposedArray(int,int,int,int)
.void
DoubleBuilderFactory.shutdown()
void
FloatBuilderFactory.shutdown()
void
IntBuilderFactory.shutdown()
void
LongBuilderFactory.shutdown()
long
DoubleApfloatImpl.size()
long
FloatApfloatImpl.size()
long
IntApfloatImpl.size()
long
LongApfloatImpl.size()
void
DoubleNTTConvolutionStepStrategy.squareInPlace
(DataStorage sourceAndDestination, int modulus) void
FloatNTTConvolutionStepStrategy.squareInPlace
(DataStorage sourceAndDestination, int modulus) void
IntNTTConvolutionStepStrategy.squareInPlace
(DataStorage sourceAndDestination, int modulus) void
LongNTTConvolutionStepStrategy.squareInPlace
(DataStorage sourceAndDestination, int modulus) DoubleAdditionStrategy.subtract
(DataStorage.Iterator src1, DataStorage.Iterator src2, Double carry, DataStorage.Iterator dst, long size) FloatAdditionStrategy.subtract
(DataStorage.Iterator src1, DataStorage.Iterator src2, Float carry, DataStorage.Iterator dst, long size) IntAdditionStrategy.subtract
(DataStorage.Iterator src1, DataStorage.Iterator src2, Integer carry, DataStorage.Iterator dst, long size) LongAdditionStrategy.subtract
(DataStorage.Iterator src1, DataStorage.Iterator src2, Long carry, DataStorage.Iterator dst, long size) void
DoubleTableFNT.tableFNT
(ArrayAccess arrayAccess, double[] wTable, int[] permutationTable) Forward (Sande-Tukey) fast Number Theoretic Transform.void
FloatTableFNT.tableFNT
(ArrayAccess arrayAccess, float[] wTable, int[] permutationTable) Forward (Sande-Tukey) fast Number Theoretic Transform.void
IntTableFNT.tableFNT
(ArrayAccess arrayAccess, int[] wTable, int[] permutationTable) Forward (Sande-Tukey) fast Number Theoretic Transform.void
LongTableFNT.tableFNT
(ArrayAccess arrayAccess, long[] wTable, int[] permutationTable) Forward (Sande-Tukey) fast Number Theoretic Transform.DoubleApfloatImpl.toString
(boolean pretty) FloatApfloatImpl.toString
(boolean pretty) IntApfloatImpl.toString
(boolean pretty) LongApfloatImpl.toString
(boolean pretty) protected void
DiskDataStorage.transferFrom
(ReadableByteChannel in, long position, long size) Transfer from a readable channel, possibly in multiple chunks.protected void
DiskDataStorage.transferTo
(WritableByteChannel out, long position, long size) Transfer to a writable channel, possibly in multiple chunks.void
AbstractStepFNTStrategy.transform
(DataStorage dataStorage, int modulus) protected abstract void
AbstractStepFNTStrategy.transform
(DataStorage dataStorage, int n1, int n2, long length, int modulus) Transform the data in steps.void
DoubleTableFNTStrategy.transform
(DataStorage dataStorage, int modulus) void
Factor3NTTStrategy.transform
(DataStorage dataStorage, int modulus) void
FloatTableFNTStrategy.transform
(DataStorage dataStorage, int modulus) void
IntTableFNTStrategy.transform
(DataStorage dataStorage, int modulus) void
LongTableFNTStrategy.transform
(DataStorage dataStorage, int modulus) protected void
SixStepFNTStrategy.transform
(DataStorage dataStorage, int n1, int n2, long length, int modulus) protected void
TwoPassFNTStrategy.transform
(DataStorage dataStorage, int n1, int n2, long length, int modulus) void
DoubleFactor3NTTStepStrategy.transformColumns
(DataStorage dataStorage0, DataStorage dataStorage1, DataStorage dataStorage2, long startColumn, long columns, long power2length, long length, boolean isInverse, int modulus) void
FloatFactor3NTTStepStrategy.transformColumns
(DataStorage dataStorage0, DataStorage dataStorage1, DataStorage dataStorage2, long startColumn, long columns, long power2length, long length, boolean isInverse, int modulus) void
IntFactor3NTTStepStrategy.transformColumns
(DataStorage dataStorage0, DataStorage dataStorage1, DataStorage dataStorage2, long startColumn, long columns, long power2length, long length, boolean isInverse, int modulus) void
LongFactor3NTTStepStrategy.transformColumns
(DataStorage dataStorage0, DataStorage dataStorage1, DataStorage dataStorage2, long startColumn, long columns, long power2length, long length, boolean isInverse, int modulus) void
DoubleNTTStepStrategy.transformRows
(ArrayAccess arrayAccess, int length, int count, boolean isInverse, boolean permute, int modulus) void
FloatNTTStepStrategy.transformRows
(ArrayAccess arrayAccess, int length, int count, boolean isInverse, boolean permute, int modulus) void
IntNTTStepStrategy.transformRows
(ArrayAccess arrayAccess, int length, int count, boolean isInverse, boolean permute, int modulus) void
LongNTTStepStrategy.transformRows
(ArrayAccess arrayAccess, int length, int count, boolean isInverse, boolean permute, int modulus) void
DoubleMatrixStrategy.transpose
(ArrayAccess arrayAccess, int n1, int n2) Transpose a n1 x n2 matrix.void
FloatMatrixStrategy.transpose
(ArrayAccess arrayAccess, int n1, int n2) Transpose a n1 x n2 matrix.void
IntMatrixStrategy.transpose
(ArrayAccess arrayAccess, int n1, int n2) Transpose a n1 x n2 matrix.void
LongMatrixStrategy.transpose
(ArrayAccess arrayAccess, int n1, int n2) Transpose a n1 x n2 matrix.void
DoubleMatrixStrategy.transposeSquare
(ArrayAccess arrayAccess, int n1, int n2) Transpose a square n1 x n1 block of n1 x n2 matrix.void
FloatMatrixStrategy.transposeSquare
(ArrayAccess arrayAccess, int n1, int n2) Transpose a square n1 x n1 block of n1 x n2 matrix.void
IntMatrixStrategy.transposeSquare
(ArrayAccess arrayAccess, int n1, int n2) Transpose a square n1 x n1 block of n1 x n2 matrix.void
LongMatrixStrategy.transposeSquare
(ArrayAccess arrayAccess, int n1, int n2) Transpose a square n1 x n1 block of n1 x n2 matrix.void
void
void
void
Constructors in org.apfloat.internal that throw ApfloatRuntimeExceptionModifierConstructorDescriptionprotected
Default constructor.DoubleApfloatImpl
(double value, long precision, int radix) Create a newDoubleApfloatImpl
instance from adouble
.DoubleApfloatImpl
(long value, long precision, int radix) Create a newDoubleApfloatImpl
instance from along
.DoubleApfloatImpl
(PushbackReader in, long precision, int radix, boolean isInteger) Create a newDoubleApfloatImpl
instance reading from a stream.DoubleApfloatImpl
(String value, long precision, int radix, boolean isInteger) Create a newDoubleApfloatImpl
instance from a String.Default constructor.FloatApfloatImpl
(double value, long precision, int radix) Create a newFloatApfloatImpl
instance from adouble
.FloatApfloatImpl
(long value, long precision, int radix) Create a newFloatApfloatImpl
instance from along
.FloatApfloatImpl
(PushbackReader in, long precision, int radix, boolean isInteger) Create a newFloatApfloatImpl
instance reading from a stream.FloatApfloatImpl
(String value, long precision, int radix, boolean isInteger) Create a newFloatApfloatImpl
instance from a String.Default constructor.IntApfloatImpl
(double value, long precision, int radix) Create a newIntApfloatImpl
instance from adouble
.IntApfloatImpl
(long value, long precision, int radix) Create a newIntApfloatImpl
instance from along
.IntApfloatImpl
(PushbackReader in, long precision, int radix, boolean isInteger) Create a newIntApfloatImpl
instance reading from a stream.IntApfloatImpl
(String value, long precision, int radix, boolean isInteger) Create a newIntApfloatImpl
instance from a String.Default constructor.LongApfloatImpl
(double value, long precision, int radix) Create a newLongApfloatImpl
instance from adouble
.LongApfloatImpl
(long value, long precision, int radix) Create a newLongApfloatImpl
instance from along
.LongApfloatImpl
(PushbackReader in, long precision, int radix, boolean isInteger) Create a newLongApfloatImpl
instance reading from a stream.LongApfloatImpl
(String value, long precision, int radix, boolean isInteger) Create a newLongApfloatImpl
instance from a String.Default constructor. -
Uses of ApfloatRuntimeException in org.apfloat.samples
Methods in org.apfloat.samples that throw ApfloatRuntimeExceptionModifier and TypeMethodDescriptionPi.BinarySplittingSeries.a
(long n) Binary splitting term.Pi.ChudnovskyBinarySplittingSeries.a
(long n) Pi.RamanujanBinarySplittingSeries.a
(long n) PiAWT.getOperation
(long precision, int radix) Get the calculation operation to execute.PiParallelAWT.getOperation
(long precision, int radix) static void
Command-line entry point.static void
Command-line entry point.static void
Command-line entry point.Pi.BinarySplittingSeries.p
(long n) Binary splitting term.Pi.ChudnovskyBinarySplittingSeries.p
(long n) Pi.RamanujanBinarySplittingSeries.p
(long n) Pi.BinarySplittingSeries.q
(long n) Binary splitting term.Pi.ChudnovskyBinarySplittingSeries.q
(long n) Pi.RamanujanBinarySplittingSeries.q
(long n) void
Pi.BinarySplittingPiCalculator.r
(long n1, long n2, ApfloatHolder T, ApfloatHolder Q, ApfloatHolder P, Pi.BinarySplittingProgressIndicator progressIndicator) Entry point for the binary splitting algorithm.void
PiDistributed.DistributedBinarySplittingPiCalculator.r
(long n1, long n2, ApfloatHolder T, ApfloatHolder Q, ApfloatHolder P, ApfloatHolder F, PiDistributed.Node[] nodes) Entry point for the distributed binary splitting algorithm.void
PiParallel.ParallelBinarySplittingPiCalculator.r
(long n1, long n2, ApfloatHolder T, ApfloatHolder Q, ApfloatHolder P, Pi.BinarySplittingProgressIndicator progressIndicator) static void
Execute an operation and display some additional information.Constructors in org.apfloat.samples that throw ApfloatRuntimeExceptionModifierConstructorDescriptionChudnovskyPiCalculator
(long precision, int radix) Construct a pi calculator with the specified precision and radix.protected
ChudnovskyPiCalculator
(Pi.BinarySplittingPiCalculator calculator, long precision, int radix) Construct a pi calculator with the specified binary splitting algorithm.DistributedChudnovskyPiCalculator
(long precision, int radix) Construct a pi calculator with the specified precision and radix.DistributedRamanujanPiCalculator
(long precision, int radix) Construct a pi calculator with the specified precision and radix.Construct a parallel pi calculator with the specified precision and radix.ParallelChudnovskyPiCalculator
(long precision, int radix) Construct a pi calculator with the specified precision and radix.protected
ParallelChudnovskyPiCalculator
(Pi.BinarySplittingPiCalculator calculator, long precision, int radix) Construct a pi calculator with the specified binary splitting algorithm.ParallelRamanujanPiCalculator
(long precision, int radix) Construct a pi calculator with the specified precision and radix.protected
ParallelRamanujanPiCalculator
(Pi.BinarySplittingPiCalculator calculator, long precision, int radix) Construct a pi calculator with the specified binary splitting algorithm.RamanujanPiCalculator
(long precision, int radix) Construct a pi calculator with the specified precision and radix.protected
RamanujanPiCalculator
(Pi.BinarySplittingPiCalculator calculator, long precision, int radix) Construct a pi calculator with the specified binary splitting algorithm. -
Uses of ApfloatRuntimeException in org.apfloat.spi
Methods in org.apfloat.spi that throw ApfloatRuntimeExceptionModifier and TypeMethodDescriptionApfloatImpl.absCeil()
Returns thisApfloatImpl
rounded away from zero.ApfloatImpl.absFloor()
Returns thisApfloatImpl
rounded towards zero.AdditionStrategy.add
(DataStorage.Iterator src1, DataStorage.Iterator src2, T carry, DataStorage.Iterator dst, long size) Addition in some base.ApfloatImpl.addOrSubtract
(ApfloatImpl x, boolean subtract) Add or subtract anApfloatImpl
to this object.CarryCRTStepStrategy.carry
(DataStorage dataStorage, long size, long resultSize, long offset, long length, T results, T previousResults) Propagate carries from the previous block computed with the CRT method.CarryCRTStrategy.carryCRT
(DataStorage resultMod0, DataStorage resultMod1, DataStorage resultMod2, long resultSize) Calculate the final result of a three-NTT convolution.abstract void
ArrayAccess.close()
Close this array access and commit any changes to the underlying data storage if applicable.void
DataStorage.Iterator.close()
Closes the iterator.int
ApfloatImpl.compareTo
(ApfloatImpl x) Compare thisApfloatImpl
and another number.ConvolutionStrategy.convolute
(DataStorage x, DataStorage y, long resultSize) Convolutes the two sets of data.final void
DataStorage.copyFrom
(DataStorage dataStorage) Copies all data from another data storage to this data storage.final void
DataStorage.copyFrom
(DataStorage dataStorage, long size) Copies the specified number of elements from another data storage to this data storage.ApfloatBuilder.createApfloat
(double value, long precision, int radix) Create a newApfloatImpl
instance from adouble
.ApfloatBuilder.createApfloat
(long value, long precision, int radix) Create a newApfloatImpl
instance from along
.ApfloatBuilder.createApfloat
(PushbackReader in, long precision, int radix, boolean isInteger) Create a newApfloatImpl
instance reading from a stream.ApfloatBuilder.createApfloat
(String value, long precision, int radix, boolean isInteger) Create a newApfloatImpl
instance from aString
.DataStorageBuilder.createCachedDataStorage
(long size) Get a data storage that is cached in memory, if possible, for the requested size of data.DataStorageBuilder.createDataStorage
(long size) Get an appropriate type of data storage for the requested size of data.DataStorageBuilder.createDataStorage
(DataStorage dataStorage) Convert cached data storage to the appropriate normal data storage type.CarryCRTStepStrategy.crt
(DataStorage resultMod0, DataStorage resultMod1, DataStorage resultMod2, DataStorage dataStorage, long size, long resultSize, long offset, long length) Perform the Chinese Remainder Theorem (CRT) on each element of the three result data sets to get the result of each element modulo the product of the three moduli.AdditionStrategy.divide
(DataStorage.Iterator src1, T src2, T carry, DataStorage.Iterator dst, long size) Division in some base.ApfloatImpl.divideShort
(ApfloatImpl x) Divide thisApfloatImpl
by anApfloatImpl
that is "short".long
ApfloatImpl.equalDigits
(ApfloatImpl x) The number of equal digits in thisApfloatImpl
and another number.ApfloatImpl.frac()
Returns the fractional part of thisApfloatImpl
.void
BuilderFactory.gc()
Do garbage collection and related things such as empty any reference queues.<T> T
Gets the current element as a the specified element type.final ArrayAccess
DataStorage.getArray
(int mode, int startColumn, int columns, int rows) Maps a block of data to a memory array when the data is treated as a matrix.final ArrayAccess
DataStorage.getArray
(int mode, long offset, int length) Gets an array access to the data of this data storage when the data is treated as a linear block.abstract Object
ArrayAccess.getData()
Returns the array of this array access.double
DataStorage.AbstractIterator.getDouble()
double
DataStorage.Iterator.getDouble()
Gets the current element as adouble
.double[]
ArrayAccess.getDoubleData()
Returns the array of this array access as adouble[]
.float
DataStorage.AbstractIterator.getFloat()
float
DataStorage.Iterator.getFloat()
Gets the current element as afloat
.float[]
ArrayAccess.getFloatData()
Returns the array of this array access as afloat[]
.int
DataStorage.AbstractIterator.getInt()
int
DataStorage.Iterator.getInt()
Gets the current element as anint
.int[]
ArrayAccess.getIntData()
Returns the array of this array access as anint[]
.long
DataStorage.AbstractIterator.getLong()
long
DataStorage.Iterator.getLong()
Gets the current element as along
.long[]
ArrayAccess.getLongData()
Returns the array of this array access as along[]
.final long
DataStorage.getSize()
Return the size of the data storage, or the length of this sub-sequence if this data storage is a sub-sequence.final ArrayAccess
DataStorage.getTransposedArray
(int mode, int startColumn, int columns, int rows) Maps a transposed block of data to a memory array when the data is treated as a matrix.protected abstract void
DataStorage.implCopyFrom
(DataStorage dataStorage, long size) Copies the specified number of elements from another data storage to this data storage.protected abstract ArrayAccess
DataStorage.implGetArray
(int mode, int startColumn, int columns, int rows) Maps a block of data to a memory array when the data is treated as a matrix.protected abstract ArrayAccess
DataStorage.implGetArray
(int mode, long offset, int length) Gets an array access to the data of this data storage when it is treated as a linear block.protected abstract long
DataStorage.implGetSize()
Return the size of the whole data storage, not including sub-sequence settings.protected abstract ArrayAccess
DataStorage.implGetTransposedArray
(int mode, int startColumn, int columns, int rows) Maps a transposed block of data to a memory array when the data is treated as a matrix.protected abstract void
DataStorage.implSetSize
(long size) Sets the size of the data storage.protected abstract DataStorage
DataStorage.implSubsequence
(long offset, long length) Implementation of getting a subsequence of this data storage.void
NTTStrategy.inverseTransform
(DataStorage dataStorage, int modulus, long totalTransformLength) Perform an inverse transform on the data.boolean
ApfloatImpl.isOne()
Tests if this number is equal to 1.boolean
ApfloatImpl.isShort()
Returns if thisApfloatImpl
is "short".abstract DataStorage.Iterator
DataStorage.iterator
(int mode, long startPosition, long endPosition) Constructs a new iterator.ApfloatImpl.multiply
(ApfloatImpl x) Multiply this object by anApfloatImpl
.AdditionStrategy.multiplyAdd
(DataStorage.Iterator src1, DataStorage.Iterator src2, T src3, T carry, DataStorage.Iterator dst, long size) Multiplication and addition in some base.void
NTTStepStrategy.multiplyElements
(ArrayAccess arrayAccess, int startRow, int startColumn, int rows, int columns, long length, long totalTransformLength, boolean isInverse, int modulus) Multiply each matrix element(i, j)
bywi * j / totalTransformLength
.void
NTTConvolutionStepStrategy.multiplyInPlace
(DataStorage sourceAndDestination, DataStorage source, int modulus) Linear multiplication in the number theoretic domain.ApfloatImpl.negate()
Returns thisApfloatImpl
negated.void
DataStorage.AbstractIterator.next()
Advances the position in the stream by one element.void
DataStorage.Iterator.next()
Advances the position in the stream by one element.void
MatrixStrategy.permuteToDoubleWidth
(ArrayAccess arrayAccess, int n1, int n2) Permute the rows of the n1 x n2 matrix so that it is shaped like a n1/2 x 2*n2 matrix.void
MatrixStrategy.permuteToHalfWidth
(ArrayAccess arrayAccess, int n1, int n2) Permute the rows of the n1 x n2 matrix so that it is shaped like a 2*n1 x n2/2 matrix.ApfloatImpl.precision
(long precision) Returns thisApfloatImpl
with the specified precision.long
ApfloatImpl.scale()
Returns the scale of thisApfloatImpl
.<T> void
Sets the current element as the specified element type.void
DataStorage.AbstractIterator.setDouble
(double value) void
DataStorage.Iterator.setDouble
(double value) Sets the current element as adouble
.void
DataStorage.AbstractIterator.setFloat
(float value) void
DataStorage.Iterator.setFloat
(float value) Sets the current element as afloat
.void
DataStorage.AbstractIterator.setInt
(int value) void
DataStorage.Iterator.setInt
(int value) Sets the current element as anint
.void
DataStorage.AbstractIterator.setLong
(long value) void
DataStorage.Iterator.setLong
(long value) Sets the current element as along
.final void
DataStorage.setReadOnly()
Sets this data storage as read-only.final void
DataStorage.setSize
(long size) Sets the size of the data storage.void
BuilderFactory.shutdown()
Shuts down the builder factory.long
ApfloatImpl.size()
Returns the size of the mantissa of thisApfloatImpl
.void
NTTConvolutionStepStrategy.squareInPlace
(DataStorage sourceAndDestination, int modulus) Linear squaring in the number theoretic domain.final DataStorage
DataStorage.subsequence
(long offset, long length) Get a subsequence of this data storage.AdditionStrategy.subtract
(DataStorage.Iterator src1, DataStorage.Iterator src2, T carry, DataStorage.Iterator dst, long size) Subtraction in some base.ApfloatImpl.toString
(boolean pretty) Convert thisApfloatImpl
toString
.void
NTTStrategy.transform
(DataStorage dataStorage, int modulus) Perform a forward transform on the data.void
Factor3NTTStepStrategy.transformColumns
(DataStorage dataStorage0, DataStorage dataStorage1, DataStorage dataStorage2, long startColumn, long columns, long power2length, long length, boolean isInverse, int modulus) Transform the columns of a matrix using a 3-point transform.void
NTTStepStrategy.transformRows
(ArrayAccess arrayAccess, int length, int count, boolean isInverse, boolean permute, int modulus) Transform the rows of the data matrix.void
MatrixStrategy.transpose
(ArrayAccess arrayAccess, int n1, int n2) Transpose a n1 x n2 matrix.void
MatrixStrategy.transposeSquare
(ArrayAccess arrayAccess, int n1, int n2) Transpose a square n1 x n1 block of n1 x n2 matrix.void
Print thisApfloatImpl
to a stream.Constructors in org.apfloat.spi that throw ApfloatRuntimeExceptionModifierConstructorDescriptionprotected
AbstractIterator
(int mode, long startPosition, long endPosition) Construct a new iterator.
Apcomplex.negate()
.