Uses of Class
org.apfloat.ApfloatRuntimeException
-
Packages that use ApfloatRuntimeException Package Description org.apfloat The apfloat Application Programming Interface (API).org.apfloat.aparapi Transforms for using a GPU via the aparapi library.org.apfloat.internal Default implementations of the apfloat Service Provider Interface (SPI).org.apfloat.samples Sample applications demonstrating apfloat use.org.apfloat.spi The apfloat Service Provider Interface (SPI). -
-
Uses of ApfloatRuntimeException in org.apfloat
Subclasses of ApfloatRuntimeException in org.apfloat Modifier and Type Class Description class
ApfloatConfigurationException
Exception indicating an error in the apfloat configuration.class
ApfloatInterruptedException
Exception indicating that the computation was interrupted.class
InfiniteExpansionException
Exception indicating that the result of an operation would have infinite size.class
LossOfPrecisionException
Exception indicating a result that would have no significant digits.class
NumericComputationException
Exception indicating that something went wrong in a numeric computation.class
OverflowException
Exception indicating an overflow in a calculation.Methods in org.apfloat that throw ApfloatRuntimeException Modifier and Type Method Description private Apfloat
ApfloatMath.PiCalculator. a(long n)
static Apfloat
ApcomplexMath. abs(Apcomplex z)
Absolute value.static Apfloat
ApfloatMath. abs(Apfloat x)
Absolute value.static Apint
ApintMath. abs(Apint x)
Absolute value.static Aprational
AprationalMath. abs(Aprational x)
Absolute value.Apfloat
FixedPrecisionApcomplexHelper. abs(Apcomplex z)
Absolute value.Apfloat
FixedPrecisionApfloatHelper. abs(Apfloat x)
Absolute value.static Apcomplex
ApcomplexMath. acos(Apcomplex z)
Inverse cosine.static Apfloat
ApfloatMath. acos(Apfloat x)
Inverse cosine.Apcomplex
FixedPrecisionApcomplexHelper. acos(Apcomplex z)
Arc cosine.Apfloat
FixedPrecisionApfloatHelper. acos(Apfloat x)
Arc cosine.static Apcomplex
ApcomplexMath. acosh(Apcomplex z)
Inverse hyperbolic cosine.static Apfloat
ApfloatMath. acosh(Apfloat x)
Inverse hyperbolic cosine.Apcomplex
FixedPrecisionApcomplexHelper. acosh(Apcomplex z)
Hyperbolic arc cosine.Apfloat
FixedPrecisionApfloatHelper. acosh(Apfloat x)
Hyperbolic arc cosine.Apcomplex
Apcomplex. add(Apcomplex z)
Adds two apcomplex numbers.Apfloat
Apfloat. add(Apfloat x)
Adds two apfloats.Apint
Apint. add(Apint x)
Adds two apints.Aprational
Aprational. add(Aprational x)
Adds two aprational numbers.Apcomplex
FixedPrecisionApcomplexHelper. add(Apcomplex z, Apcomplex w)
Addition.Apfloat
FixedPrecisionApfloatHelper. add(Apfloat x, Apfloat y)
Addition.private Apfloat
Apfloat. addOrSubtract(Apfloat x, boolean subtract)
static Apcomplex
ApcomplexMath. agm(Apcomplex a, Apcomplex b)
Arithmetic-geometric mean.(package private) static Apcomplex
ApcomplexMath. agm(Apcomplex a, Apcomplex b, java.util.function.Consumer<Apcomplex> consumer)
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)
Apcomplex
FixedPrecisionApcomplexHelper. agm(Apcomplex a, Apcomplex b)
Arithmetic-geometric mean.Apfloat
FixedPrecisionApfloatHelper. agm(Apfloat a, Apfloat b)
Arithmetic-geometric mean.static Apcomplex
ApcomplexMath. airyAi(Apcomplex z)
Airy function Ai.(package private) static Apcomplex
ApcomplexMath. airyAi(Apcomplex z0, long targetPrecision)
static Apfloat
ApfloatMath. airyAi(Apfloat x)
Airy function Ai.(package private) static Apfloat
ApfloatMath. airyAi(Apfloat x, long precision)
Apcomplex
FixedPrecisionApcomplexHelper. airyAi(Apcomplex z)
Airy function Ai.Apfloat
FixedPrecisionApfloatHelper. airyAi(Apfloat x)
Airy function Ai.static Apcomplex
ApcomplexMath. airyAiPrime(Apcomplex z)
Derivative of the Airy function Ai.(package private) static Apcomplex
ApcomplexMath. airyAiPrime(Apcomplex z0, long targetPrecision)
static Apfloat
ApfloatMath. airyAiPrime(Apfloat x)
Derivative of the Airy function Ai.(package private) static Apfloat
ApfloatMath. airyAiPrime(Apfloat x, long precision)
Apcomplex
FixedPrecisionApcomplexHelper. airyAiPrime(Apcomplex z)
Derivative of the Airy function Ai.Apfloat
FixedPrecisionApfloatHelper. airyAiPrime(Apfloat x)
Derivative of the Airy function Ai.static Apcomplex
ApcomplexMath. airyBi(Apcomplex z)
Airy function Bi.(package private) static Apcomplex
ApcomplexMath. airyBi(Apcomplex z0, long targetPrecision)
static Apfloat
ApfloatMath. airyBi(Apfloat x)
Airy function Bi.(package private) static Apfloat
ApfloatMath. airyBi(Apfloat x, long precision)
Apcomplex
FixedPrecisionApcomplexHelper. airyBi(Apcomplex z)
Airy function Bi.Apfloat
FixedPrecisionApfloatHelper. airyBi(Apfloat x)
Airy function Bi.static Apcomplex
ApcomplexMath. airyBiPrime(Apcomplex z)
Derivative of the Airy function Bi.(package private) static Apcomplex
ApcomplexMath. airyBiPrime(Apcomplex z0, long targetPrecision)
static Apfloat
ApfloatMath. airyBiPrime(Apfloat x)
Derivative of the Airy function Bi.(package private) static Apfloat
ApfloatMath. airyBiPrime(Apfloat x, long precision)
Apcomplex
FixedPrecisionApcomplexHelper. airyBiPrime(Apcomplex z)
Derivative of the Airy function Bi.Apfloat
FixedPrecisionApfloatHelper. airyBiPrime(Apfloat x)
Derivative of the Airy function Bi.static Apcomplex[]
ApcomplexMath. allRoots(Apcomplex z, int n)
All values of the positive integer root.Apcomplex[]
FixedPrecisionApcomplexHelper. allRoots(Apcomplex z, int n)
All branches of a root.static Apfloat
ApcomplexMath. arg(Apcomplex z)
Angle of the complex vector in the complex plane.Apfloat
FixedPrecisionApcomplexHelper. arg(Apcomplex z)
Complex angle.static Apcomplex
ApcomplexMath. asin(Apcomplex z)
Inverse sine.static Apfloat
ApfloatMath. asin(Apfloat x)
Inverse sine.Apcomplex
FixedPrecisionApcomplexHelper. asin(Apcomplex z)
Arc sine.Apfloat
FixedPrecisionApfloatHelper. asin(Apfloat x)
Arc sine.static Apcomplex
ApcomplexMath. asinh(Apcomplex z)
Inverse hyperbolic sine.static Apfloat
ApfloatMath. asinh(Apfloat x)
Inverse hyperbolic sine.Apcomplex
FixedPrecisionApcomplexHelper. asinh(Apcomplex z)
Hyperbolic arc sine.Apfloat
FixedPrecisionApfloatHelper. asinh(Apfloat x)
Hyperbolic arc sine.static Apcomplex
ApcomplexMath. atan(Apcomplex z)
Inverse tangent.static Apfloat
ApfloatMath. atan(Apfloat x)
Inverse tangent.Apcomplex
FixedPrecisionApcomplexHelper. atan(Apcomplex z)
Arc 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 Apcomplex
ApcomplexMath. atanh(Apcomplex z)
Inverse hyperbolic tangent.static Apfloat
ApfloatMath. atanh(Apfloat x)
Inverse hyperbolic tangent.Apcomplex
FixedPrecisionApcomplexHelper. atanh(Apcomplex z)
Hyperbolic arc tangent.Apfloat
FixedPrecisionApfloatHelper. atanh(Apfloat x)
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.Apfloat
FixedPrecisionApcomplexHelper. bernoulli(long n)
Bernoulli number.Apfloat
FixedPrecisionApcomplexHelper. bernoulli(long n, int radix)
Bernoulli number.static Apcomplex
ApcomplexMath. bernoulliB(long n, Apcomplex z)
Bernoulli polynomial.(package private) static Apcomplex
ApcomplexMath. bernoulliB(long n, Apcomplex z, long precision)
static Apfloat
ApfloatMath. bernoulliB(long n, Apfloat x)
Bernoulli polynomial.(package private) static Apfloat
ApfloatMath. bernoulliB(long n, Apfloat x, long precision)
Apcomplex
FixedPrecisionApcomplexHelper. bernoulliB(long n, Apcomplex z)
Bernoulli polynomial.Apfloat
FixedPrecisionApfloatHelper. bernoulliB(long n, Apfloat x)
Bernoulli polynomial.private Apcomplex
BesselHelper. besselFirstKind(Apcomplex ν, boolean negate)
static Apcomplex
ApcomplexMath. besselI(Apcomplex ν, Apcomplex z)
Modified Bessel function of the first kind.static Apfloat
ApfloatMath. besselI(Apfloat ν, Apfloat x)
Modified Bessel function of the first kind.private Apcomplex
BesselHelper. besselI()
private Apcomplex
BesselHelper. besselI(Apcomplex ν)
static Apcomplex
BesselHelper. besselI(Apcomplex ν, Apcomplex z)
Apcomplex
FixedPrecisionApcomplexHelper. besselI(Apcomplex ν, Apcomplex z)
Modified Bessel function of the first kind.Apfloat
FixedPrecisionApfloatHelper. besselI(Apfloat ν, Apfloat x)
Modified Bessel function of the first kind.static Apcomplex
ApcomplexMath. besselJ(Apcomplex ν, Apcomplex z)
Bessel function of the first kind.static Apfloat
ApfloatMath. besselJ(Apfloat ν, Apfloat x)
Bessel function of the first kind.private Apcomplex
BesselHelper. besselJ()
private Apcomplex
BesselHelper. besselJ(Apcomplex ν)
static Apcomplex
BesselHelper. besselJ(Apcomplex ν, Apcomplex z)
Apcomplex
FixedPrecisionApcomplexHelper. besselJ(Apcomplex ν, Apcomplex z)
Bessel function of the first kind.Apfloat
FixedPrecisionApfloatHelper. besselJ(Apfloat ν, Apfloat x)
Bessel function of the first kind.static Apcomplex
ApcomplexMath. besselK(Apcomplex ν, Apcomplex z)
Modified Bessel function of the second kind.static Apfloat
ApfloatMath. besselK(Apfloat ν, Apfloat x)
Modified Bessel function of the second kind.private Apcomplex
BesselHelper. besselK()
static Apcomplex
BesselHelper. besselK(Apcomplex ν, Apcomplex z)
Apcomplex
FixedPrecisionApcomplexHelper. besselK(Apcomplex ν, Apcomplex z)
Modified Bessel function of the second kind.Apfloat
FixedPrecisionApfloatHelper. besselK(Apfloat ν, Apfloat x)
Modified Bessel function of the second kind.private Apcomplex
BesselHelper. besselSecondKind(java.util.function.BiFunction<Apcomplex,Apcomplex,Apcomplex> f)
static Apcomplex
ApcomplexMath. besselY(Apcomplex ν, Apcomplex z)
Bessel function of the second kind.static Apfloat
ApfloatMath. besselY(Apfloat ν, Apfloat x)
Bessel function of the second kind.private Apcomplex
BesselHelper. besselY()
static Apcomplex
BesselHelper. besselY(Apcomplex ν, Apcomplex z)
Apcomplex
FixedPrecisionApcomplexHelper. besselY(Apcomplex ν, Apcomplex z)
Bessel function of the second kind.Apfloat
FixedPrecisionApfloatHelper. besselY(Apfloat ν, Apfloat x)
Bessel function of the second kind.static Apcomplex
ApcomplexMath. beta(Apcomplex a, Apcomplex b)
Beta function.static Apcomplex
ApcomplexMath. beta(Apcomplex z, Apcomplex a, Apcomplex b)
Incomplete beta function.static Apcomplex
ApcomplexMath. beta(Apcomplex z1, Apcomplex z2, Apcomplex a, Apcomplex b)
Generalized incomplete beta function.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.Apcomplex
FixedPrecisionApcomplexHelper. beta(Apcomplex a, Apcomplex b)
Beta function.Apcomplex
FixedPrecisionApcomplexHelper. beta(Apcomplex z, Apcomplex a, Apcomplex b)
Incomplete beta function.Apcomplex
FixedPrecisionApcomplexHelper. beta(Apcomplex z1, Apcomplex z2, Apcomplex a, Apcomplex 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.private static Apint[]
GCDHelper. binaryDivide(Apint a, Apint b)
static Apcomplex
ApcomplexMath. binomial(Apcomplex n, Apcomplex k)
Binomial coefficient.static Apfloat
ApfloatMath. binomial(Apfloat n, Apfloat k)
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
ApintMath. binomial(Apint n, Apint k)
Binomial coefficient.static Aprational
AprationalMath. binomial(Aprational n, Aprational k)
Binomial coefficient.Apfloat
FixedPrecisionApcomplexHelper. binomial(long n, long k)
Binomial coefficient.Apfloat
FixedPrecisionApcomplexHelper. binomial(long n, long k, int radix)
Binomial coefficient.Apcomplex
FixedPrecisionApcomplexHelper. binomial(Apcomplex n, Apcomplex k)
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 Apcomplex
ApcomplexMath. cbrt(Apcomplex z)
Cube root.static Apfloat
ApfloatMath. cbrt(Apfloat x)
Cube root.static Apint[]
ApintMath. cbrt(Apint x)
Cube root and remainder.Apcomplex
FixedPrecisionApcomplexHelper. cbrt(Apcomplex z)
Cube root.Apfloat
FixedPrecisionApfloatHelper. cbrt(Apfloat x)
Cube root.Apint
Apfloat. ceil()
Ceiling function.static Apint
ApfloatMath. ceil(Apfloat x)
Ceiling function.Apint
Aprational. ceil()
Ceiling function.Apfloat
FixedPrecisionApfloatHelper. ceil(Apfloat x)
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.Apcomplex
FixedPrecisionApcomplexHelper. chebyshevT(Apcomplex ν, Apcomplex z)
Chebyshev function of the first kind.Apfloat
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.Apcomplex
FixedPrecisionApcomplexHelper. chebyshevU(Apcomplex ν, Apcomplex z)
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)
static Apcomplex
ApfloatHelper. checkPow(Apcomplex z, Apcomplex w, long targetPrecision)
static Apfloat
ApfloatHelper. checkPow(Apfloat x, Apfloat y, long targetPrecision)
private static Apcomplex
ApfloatHelper. checkPowBasic(Apcomplex z, Apcomplex w, long targetPrecision)
private static Apint
GCDHelper. cmod(Apint a, Apint m)
Apcomplex
LambertWHelper. complex()
private Apcomplex
LambertWHelper. complexSeries(Apcomplex p)
Apcomplex
Apcomplex. conj()
Returns the complex conjugate of this apcomplex.Apcomplex
FixedPrecisionApcomplexHelper. conj(Apcomplex z)
Complex conjugate.static java.util.Iterator<Apint>
ContinuedFractionHelper. continuedFraction(Apfloat x)
static java.util.Iterator<Apint>
ContinuedFractionHelper. continuedFraction(Aprational 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.static Apint
ApintMath. copySign(Apint x, Apint y)
Copy sign from one argument to another.static Aprational
AprationalMath. copySign(Aprational x, Aprational y)
Copy sign from one argument to another.Apfloat
FixedPrecisionApfloatHelper. copySign(Apfloat x, Apfloat y)
Copies the sign from one number to another.static Apcomplex
ApcomplexMath. cos(Apcomplex z)
Cosine.static Apfloat
ApfloatMath. cos(Apfloat x)
Cosine.Apcomplex
FixedPrecisionApcomplexHelper. cos(Apcomplex z)
Cosine.Apfloat
FixedPrecisionApfloatHelper. cos(Apfloat x)
Cosine.static Apcomplex
ApcomplexMath. cosh(Apcomplex z)
Hyperbolic cosine.static Apfloat
ApfloatMath. cosh(Apfloat x)
Hyperbolic cosine.Apcomplex
FixedPrecisionApcomplexHelper. cosh(Apcomplex z)
Hyperbolic cosine.Apfloat
FixedPrecisionApfloatHelper. cosh(Apfloat x)
Hyperbolic cosine.static Apcomplex
ApcomplexMath. coshIntegral(Apcomplex z)
Hyperbolic cosine integral.static Apfloat
ApfloatMath. coshIntegral(Apfloat x)
Hyperbolic cosine integral.Apcomplex
FixedPrecisionApcomplexHelper. coshIntegral(Apcomplex z)
Hyperbolic cosine integral.Apfloat
FixedPrecisionApfloatHelper. coshIntegral(Apfloat x)
Hyperbolic cosine integral.static Apcomplex
ApcomplexMath. cosIntegral(Apcomplex z)
Cosine integral.static Apfloat
ApfloatMath. cosIntegral(Apfloat x)
Cosine integral.Apcomplex
FixedPrecisionApcomplexHelper. cosIntegral(Apcomplex z)
Cosine integral.Apfloat
FixedPrecisionApfloatHelper. cosIntegral(Apfloat x)
Cosine integral.(package private) static Apcomplex
ApcomplexMath. cot(Apcomplex z)
static ApfloatImpl
ApfloatHelper. createApfloat(double value)
static ApfloatImpl
ApfloatHelper. createApfloat(double value, long precision)
static ApfloatImpl
ApfloatHelper. createApfloat(double value, long precision, int radix)
static ApfloatImpl
ApfloatHelper. createApfloat(float value)
static ApfloatImpl
ApfloatHelper. createApfloat(float value, long precision)
static ApfloatImpl
ApfloatHelper. createApfloat(float value, long precision, int radix)
static ApfloatImpl
ApfloatHelper. createApfloat(long value)
static ApfloatImpl
ApfloatHelper. createApfloat(long value, long precision)
static ApfloatImpl
ApfloatHelper. createApfloat(long value, long precision, int radix)
static ApfloatImpl
ApfloatHelper. createApfloat(java.io.PushbackReader in, boolean isInteger)
static ApfloatImpl
ApfloatHelper. createApfloat(java.io.PushbackReader in, long precision, boolean isInteger)
static ApfloatImpl
ApfloatHelper. createApfloat(java.io.PushbackReader in, long precision, int radix, boolean isInteger)
static ApfloatImpl
ApfloatHelper. createApfloat(java.lang.String value, boolean isInteger)
static ApfloatImpl
ApfloatHelper. createApfloat(java.lang.String value, long precision, boolean isInteger)
static ApfloatImpl
ApfloatHelper. createApfloat(java.lang.String value, long precision, int radix, boolean isInteger)
static ApfloatImpl
ApfloatHelper. createApfloat(java.math.BigDecimal value)
static ApfloatImpl
ApfloatHelper. createApfloat(java.math.BigDecimal value, long precision)
static ApfloatImpl
ApfloatHelper. createApfloat(java.math.BigInteger value)
static ApfloatImpl
ApfloatHelper. createApfloat(java.math.BigInteger value, long precision)
static ApfloatImpl
ApfloatHelper. createApfloat(java.math.BigInteger value, long precision, int radix)
static Apcomplex
ApcomplexMath. digamma(Apcomplex z)
Digamma function.static Apfloat
ApfloatMath. digamma(Apfloat x)
Digamma function.Apcomplex
FixedPrecisionApcomplexHelper. digamma(Apcomplex z)
Digamma function.Apfloat
FixedPrecisionApfloatHelper. digamma(Apfloat x)
Digamma function.static Apint[]
ApintMath. div(Apint x, Apint y)
Quotient and remainder.Apcomplex
Apcomplex. divide(Apcomplex z)
Divides two apcomplex numbers.Apfloat
Apfloat. divide(Apfloat x)
Divides two apfloats.Apint
Apint. divide(Apint x)
Divides two apints.Aprational
Aprational. divide(Aprational x)
Divides two aprational numbers.Apcomplex
FixedPrecisionApcomplexHelper. divide(Apcomplex z, Apcomplex w)
Division.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)
static Apint
ApintMath. doubleFactorial(long n)
Double factorial function.static Apint
ApintMath. doubleFactorial(long n, int radix)
Double factorial function.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.Apfloat
FixedPrecisionApcomplexHelper. e()
e.Apfloat
FixedPrecisionApcomplexHelper. e(int radix)
e.private Apfloat
LambertWHelper. e(long precision)
private static Apint
GCDHelper. elementaryGcd(Apint a, Apint b)
static Apcomplex
ApcomplexMath. ellipticE(Apcomplex z)
Complete elliptic integral of the second kind.(package private) static Apcomplex
ApcomplexMath. ellipticE(Apcomplex z, 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)
Apcomplex
FixedPrecisionApcomplexHelper. ellipticE(Apcomplex z)
Complete elliptic integral of the second kind.Apfloat
FixedPrecisionApfloatHelper. ellipticE(Apfloat x)
Complete elliptic integral of the second kind.static Apcomplex
ApcomplexMath. ellipticK(Apcomplex z)
Complete elliptic integral of the first kind.(package private) static Apcomplex
ApcomplexMath. ellipticK(Apcomplex z, long precision)
(package private) static Apcomplex
ApcomplexMath. ellipticK(Apcomplex z, long precision, java.util.function.Consumer<Apcomplex> consumer)
static Apfloat
ApfloatMath. ellipticK(Apfloat x)
Complete elliptic integral of the first kind.(package private) static Apfloat
ApfloatMath. ellipticK(Apfloat x, long precision)
Apcomplex
FixedPrecisionApcomplexHelper. ellipticK(Apcomplex z)
Complete elliptic integral of the first kind.Apfloat
FixedPrecisionApfloatHelper. ellipticK(Apfloat x)
Complete elliptic integral of the first kind.private Apfloat
Aprational. ensureApprox(long precision)
static Apcomplex
ApfloatHelper. ensurePrecision(Apcomplex z, long precision)
static Apfloat
ApfloatHelper. ensurePrecision(Apfloat x, long precision)
long
Apcomplex. equalDigits(Apcomplex z)
Computes number of equal digits.long
Apfloat. equalDigits(Apfloat x)
Computes number of equal digits.static Apcomplex
ApcomplexMath. erf(Apcomplex z)
Error function.static Apfloat
ApfloatMath. erf(Apfloat x)
Error function.Apcomplex
FixedPrecisionApcomplexHelper. erf(Apcomplex z)
Error function.Apfloat
FixedPrecisionApfloatHelper. erf(Apfloat x)
Error function.static Apcomplex
ApcomplexMath. erfc(Apcomplex z)
Complementary error function.static Apfloat
ApfloatMath. erfc(Apfloat x)
Complementary error function.Apcomplex
FixedPrecisionApcomplexHelper. erfc(Apcomplex z)
Complementary error function.Apfloat
FixedPrecisionApfloatHelper. erfc(Apfloat x)
Complementary error function.(package private) static Apcomplex
ApcomplexMath. erfcFixedPrecision(Apcomplex z)
(package private) static Apfloat
ApfloatMath. erfcFixedPrecision(Apfloat x)
(package private) static Apcomplex
ApcomplexMath. erfFixedPrecision(Apcomplex z)
(package private) static Apfloat
ApfloatMath. erfFixedPrecision(Apfloat x)
static Apcomplex
ApcomplexMath. erfi(Apcomplex z)
Imaginary error function.static Apfloat
ApfloatMath. erfi(Apfloat x)
Imaginary error function.Apcomplex
FixedPrecisionApcomplexHelper. erfi(Apcomplex z)
Imaginary error function.Apfloat
FixedPrecisionApfloatHelper. erfi(Apfloat x)
Imaginary error function.(package private) static Apcomplex
ApcomplexMath. erfiFixedPrecision(Apcomplex z)
(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)
private void
EulerHelper. euler(long a, long b, ApfloatMath.ApfloatHolder P, ApfloatMath.ApfloatHolder Q, ApfloatMath.ApfloatHolder R, ApfloatMath.ApfloatHolder S, ApfloatMath.ApfloatHolder T, ApfloatMath.ApfloatHolder U, ApfloatMath.ApfloatHolder V)
Apfloat
FixedPrecisionApcomplexHelper. euler()
γ, the Euler-Mascheroni constant.Apfloat
FixedPrecisionApcomplexHelper. euler(int radix)
γ, the Euler-Mascheroni constant.static Apcomplex
ApcomplexMath. eulerE(long n, Apcomplex z)
Euler polynomial.(package private) static Apcomplex
ApcomplexMath. eulerE(long n, Apcomplex z, long precision)
static Apfloat
ApfloatMath. eulerE(long n, Apfloat x)
Euler polynomial.(package private) static Apfloat
ApfloatMath. eulerE(long n, Apfloat x, long precision)
Apcomplex
FixedPrecisionApcomplexHelper. eulerE(long n, Apcomplex z)
Euler polynomial.Apfloat
FixedPrecisionApfloatHelper. eulerE(long n, Apfloat x)
Euler polynomial.(package private) static Apfloat
ApfloatMath. eulerSmall(long precision, int radix)
static Apcomplex
ApcomplexMath. exp(Apcomplex z)
Exponent function.static Apfloat
ApfloatMath. exp(Apfloat x)
Exponent function.Apcomplex
FixedPrecisionApcomplexHelper. exp(Apcomplex z)
Exponential function.Apfloat
FixedPrecisionApfloatHelper. exp(Apfloat x)
Exponential function.static Apcomplex
ApcomplexMath. expIntegralE(Apcomplex ν, Apcomplex z)
Exponential integral E.static Apfloat
ApfloatMath. expIntegralE(Apfloat ν, Apfloat x)
Exponential integral E.Apcomplex
FixedPrecisionApcomplexHelper. expIntegralE(Apcomplex ν, Apcomplex z)
Exponential integral E.Apfloat
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.Apcomplex
FixedPrecisionApcomplexHelper. expIntegralEi(Apcomplex z)
Exponential integral Ei.Apfloat
FixedPrecisionApfloatHelper. expIntegralEi(Apfloat x)
Exponential integral Ei.static Apcomplex
ApfloatHelper. extendPrecision(Apcomplex z)
static Apcomplex
ApfloatHelper. extendPrecision(Apcomplex z, long extraPrecision)
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)
static Apint
ApintMath. factorial(long n)
Factorial function.static Apint
ApintMath. factorial(long n, int radix)
Factorial function.Apfloat
FixedPrecisionApfloatHelper. factorial(long n)
Factorial.Apfloat
FixedPrecisionApfloatHelper. factorial(long n, int radix)
Factorial.static Apcomplex
ApcomplexMath. fibonacci(Apcomplex ν, Apcomplex z)
Fibonacci function.static Apfloat
ApfloatMath. fibonacci(Apfloat ν, Apfloat x)
Fibonacci function.Apcomplex
FixedPrecisionApcomplexHelper. fibonacci(Apcomplex ν, Apcomplex z)
Fibonacci function.Apfloat
FixedPrecisionApfloatHelper. fibonacci(Apfloat ν, Apfloat x)
Fibonacci function.private Apcomplex
LambertWHelper. fixLogBranch(Apcomplex next, Apcomplex previous)
Apint
Apfloat. floor()
Floor function.static Apint
ApfloatMath. floor(Apfloat x)
Floor function.Apint
Aprational. floor()
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.Apfloat
Apfloat. frac()
Returns the fractional part.static Apfloat
ApfloatMath. frac(Apfloat x)
Extracts fractional part.Apint
Apint. frac()
Returns the fractional part.Aprational
Aprational. frac()
Returns the fractional part.Apfloat
FixedPrecisionApfloatHelper. frac(Apfloat x)
Extract fractional part.static Apcomplex
ApcomplexMath. fresnelC(Apcomplex z)
Fresnel integral C.static Apfloat
ApfloatMath. fresnelC(Apfloat x)
Fresnel integral C.Apcomplex
FixedPrecisionApcomplexHelper. fresnelC(Apcomplex z)
Fresnel integral C.Apfloat
FixedPrecisionApfloatHelper. fresnelC(Apfloat x)
Fresnel integral C.static Apcomplex
ApcomplexMath. fresnelS(Apcomplex z)
Fresnel integral S.static Apfloat
ApfloatMath. fresnelS(Apfloat x)
Fresnel integral S.Apcomplex
FixedPrecisionApcomplexHelper. fresnelS(Apcomplex z)
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 Apcomplex
ApcomplexMath. gamma(Apcomplex z)
Gamma function.static Apcomplex
ApcomplexMath. gamma(Apcomplex a, Apcomplex z)
Incomplete gamma function.static Apcomplex
ApcomplexMath. gamma(Apcomplex a, Apcomplex z0, Apcomplex z1)
Generalized incomplete gamma function.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.Apcomplex
FixedPrecisionApcomplexHelper. gamma(Apcomplex z)
Gamma function.Apcomplex
FixedPrecisionApcomplexHelper. gamma(Apcomplex a, Apcomplex z)
Incomplete gamma function.Apcomplex
FixedPrecisionApcomplexHelper. gamma(Apcomplex a, Apcomplex z0, Apcomplex z1)
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 Apint
ApintMath. gcd(Apint a, Apint b)
Greatest common divisor.static Apint
GCDHelper. gcd(Apint a, Apint b)
private static Apcomplex
ApcomplexMath. gegenbauerC(long n, Apcomplex λ, Apcomplex z)
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.Apcomplex
FixedPrecisionApcomplexHelper. gegenbauerC(Apcomplex ν, Apcomplex z)
Renormalized Gegenbauer function.Apcomplex
FixedPrecisionApcomplexHelper. gegenbauerC(Apcomplex ν, Apcomplex λ, Apcomplex z)
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)
private ApfloatImpl
Apfloat. getImpl()
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 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.private static long
RadixConversionHelper. getPrecision(long precision, int fromRadix, int toRadix)
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.private static GCDHelper.HalfGcdType
GCDHelper. halfBinaryGcd(Apint a, Apint b, long k)
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.private static Apint[]
AprationalMath. harmonicNumber(Apint n, Apint m, long r)
Apcomplex
FixedPrecisionApcomplexHelper. harmonicNumber(Apcomplex z)
Harmonic number.Apcomplex
FixedPrecisionApcomplexHelper. harmonicNumber(Apcomplex z, Apcomplex r)
Generalized harmonic number.Apfloat
FixedPrecisionApfloatHelper. harmonicNumber(Apfloat x)
Harmonic number.Apfloat
FixedPrecisionApfloatHelper. harmonicNumber(Apfloat x, Apfloat r)
Generalized harmonic number.static Apcomplex
ApcomplexMath. hermiteH(Apcomplex ν, Apcomplex z)
Hermite function.static Apfloat
ApfloatMath. hermiteH(Apfloat ν, Apfloat x)
Hermite function.Apcomplex
FixedPrecisionApcomplexHelper. hermiteH(Apcomplex ν, Apcomplex z)
Hermite function.Apfloat
FixedPrecisionApfloatHelper. hermiteH(Apfloat ν, Apfloat x)
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.Apcomplex
FixedPrecisionApcomplexHelper. hypergeometric0F1(Apcomplex a, Apcomplex z)
Confluent hypergeometric function 0F1.Apfloat
FixedPrecisionApfloatHelper. hypergeometric0F1(Apfloat a, Apfloat x)
Confluent hypergeometric function 0F1.private Apcomplex
HypergeometricHelper. hypergeometric0F1(Apcomplex b, Apcomplex z)
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.Apcomplex
FixedPrecisionApcomplexHelper. hypergeometric0F1Regularized(Apcomplex a, Apcomplex z)
Regularized confluent hypergeometric function 0F̃1.Apfloat
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.Apcomplex
FixedPrecisionApcomplexHelper. hypergeometric1F1(Apcomplex a, Apcomplex b, Apcomplex z)
Kummer confluent hypergeometric function 1F1.Apfloat
FixedPrecisionApfloatHelper. hypergeometric1F1(Apfloat a, Apfloat b, Apfloat x)
Kummer confluent hypergeometric function 1F1.private Apcomplex
HypergeometricHelper. hypergeometric1F1(Apcomplex a, Apcomplex b, Apcomplex z)
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.Apcomplex
FixedPrecisionApcomplexHelper. hypergeometric1F1Regularized(Apcomplex a, Apcomplex b, Apcomplex z)
Regularized Kummer confluent hypergeometric function 1F̃1.Apfloat
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.Apcomplex
FixedPrecisionApcomplexHelper. hypergeometric2F1(Apcomplex a, Apcomplex b, Apcomplex c, Apcomplex z)
Hypergeometric function 2F1.Apfloat
FixedPrecisionApfloatHelper. hypergeometric2F1(Apfloat a, Apfloat b, Apfloat c, Apfloat x)
Hypergeometric function 2F1.private Apcomplex
HypergeometricHelper. hypergeometric2F1(Apcomplex a, Apcomplex b, Apcomplex c, Apcomplex z)
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.Apcomplex
FixedPrecisionApcomplexHelper. hypergeometric2F1Regularized(Apcomplex a, Apcomplex b, Apcomplex c, Apcomplex z)
Regularized hypergeometric function 2F̃1.Apfloat
FixedPrecisionApfloatHelper. hypergeometric2F1Regularized(Apfloat a, Apfloat b, Apfloat c, Apfloat x)
Regularized hypergeometric function 2F̃1.private Apcomplex
HypergeometricHelper. hypergeometricPFQ()
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.Apcomplex
FixedPrecisionApcomplexHelper. hypergeometricU(Apcomplex a, Apcomplex b, Apcomplex z)
Tricomi's confluent hypergeometric function U.Apfloat
FixedPrecisionApfloatHelper. hypergeometricU(Apfloat a, Apfloat b, Apfloat x)
Tricomi's confluent hypergeometric function U.private Apcomplex
HypergeometricHelper. hypergeometricU(boolean fastOnly)
private Apcomplex
HypergeometricHelper. hypergeometricUStar(Apcomplex a, Apcomplex b, Apcomplex z)
private static ApfloatImpl
ApfloatHelper. implCreateApfloat(double value, long precision, int radix)
private static ApfloatImpl
ApfloatHelper. implCreateApfloat(long value, long precision, int radix)
private static ApfloatImpl
ApfloatHelper. implCreateApfloat(java.io.PushbackReader in, long precision, int radix, boolean isInteger)
private static ApfloatImpl
ApfloatHelper. implCreateApfloat(java.lang.String value, long precision, int radix, boolean isInteger)
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 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.Apcomplex
FixedPrecisionApcomplexHelper. inverseRoot(Apcomplex z, long n)
Inverse root.Apcomplex
FixedPrecisionApcomplexHelper. inverseRoot(Apcomplex z, long n, long k)
Inverse root with branch.Apfloat
FixedPrecisionApfloatHelper. inverseRoot(Apfloat x, long n)
Inverse root.private static Apcomplex
ApcomplexMath. inverseRootAbs(Apcomplex z, long n, long k)
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.private static Apcomplex
ApcomplexMath. jacobiP(long n, Apcomplex a, Apcomplex b, Apcomplex z)
static Apcomplex
ApcomplexMath. jacobiP(Apcomplex ν, Apcomplex a, Apcomplex b, Apcomplex z)
Jacobi function.static Apfloat
ApfloatMath. jacobiP(Apfloat ν, Apfloat a, Apfloat b, Apfloat x)
Jacobi function.Apcomplex
FixedPrecisionApcomplexHelper. jacobiP(Apcomplex ν, Apcomplex a, Apcomplex b, Apcomplex z)
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 Apcomplex
ApcomplexMath. laguerreL(Apcomplex ν, Apcomplex z)
Laguerre function.static Apcomplex
ApcomplexMath. laguerreL(Apcomplex ν, Apcomplex λ, Apcomplex z)
Generalized Laguerre function.static Apfloat
ApfloatMath. laguerreL(Apfloat ν, Apfloat x)
Laguerre function.static Apfloat
ApfloatMath. laguerreL(Apfloat ν, Apfloat λ, Apfloat x)
Generalized Laguerre function.Apcomplex
FixedPrecisionApcomplexHelper. laguerreL(Apcomplex ν, Apcomplex z)
Laguerre function.Apcomplex
FixedPrecisionApcomplexHelper. laguerreL(Apcomplex ν, Apcomplex λ, Apcomplex z)
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 Apint
ApintMath. lcm(Apint a, Apint b)
Least common multiple.static Apcomplex
ApcomplexMath. legendreP(Apcomplex ν, Apcomplex z)
Legendre function.static Apcomplex
ApcomplexMath. legendreP(Apcomplex ν, Apcomplex μ, Apcomplex z)
Associated Legendre function of the first kind.static Apfloat
ApfloatMath. legendreP(Apfloat ν, Apfloat x)
Legendre function.static Apfloat
ApfloatMath. legendreP(Apfloat ν, Apfloat μ, Apfloat x)
Associated Legendre function of the first kind.Apcomplex
FixedPrecisionApcomplexHelper. legendreP(Apcomplex ν, Apcomplex z)
Legendre function.Apcomplex
FixedPrecisionApcomplexHelper. legendreP(Apcomplex ν, Apcomplex μ, Apcomplex z)
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 Apcomplex
ApcomplexMath. legendreQ(Apcomplex ν, Apcomplex z)
Legendre function of the second kind.static Apcomplex
ApcomplexMath. legendreQ(Apcomplex ν, Apcomplex μ, Apcomplex z)
Associated Legendre function of the second 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.Apcomplex
FixedPrecisionApcomplexHelper. legendreQ(Apcomplex ν, Apcomplex z)
Legendre function of the second kind.Apcomplex
FixedPrecisionApcomplexHelper. legendreQ(Apcomplex ν, Apcomplex μ, Apcomplex z)
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 Apcomplex
ApfloatHelper. limitPrecision(Apcomplex z, long precision)
static Apfloat
ApfloatHelper. limitPrecision(Apfloat x, long precision)
static java.util.Properties
ApfloatContext. loadProperties()
Loads properties from a properties file or resource bundle.static Apcomplex
ApcomplexMath. log(Apcomplex z)
Natural logarithm.static Apcomplex
ApcomplexMath. log(Apcomplex z, Apcomplex w)
Logarithm in arbitrary base.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.Apcomplex
FixedPrecisionApcomplexHelper. log(Apcomplex z)
Natural logarithm.Apcomplex
FixedPrecisionApcomplexHelper. log(Apcomplex z, Apcomplex w)
Logarithm in specified base.Apfloat
FixedPrecisionApfloatHelper. log(Apfloat x)
Natural logarithm.Apfloat
FixedPrecisionApfloatHelper. log(Apfloat x, Apfloat b)
Logarithm in specified base.private Apcomplex
LambertWHelper. log(Apcomplex z)
private Apcomplex
LambertWHelper. logApprox(Apcomplex z)
static Apcomplex
ApcomplexMath. logGamma(Apcomplex z)
Logarithm of the gamma function.static Apfloat
ApfloatMath. logGamma(Apfloat x)
Logarithm of the gamma function.Apcomplex
FixedPrecisionApcomplexHelper. logGamma(Apcomplex z)
Logarithm of the gamma function.Apfloat
FixedPrecisionApfloatHelper. logGamma(Apfloat x)
Logarithm of the gamma function.static Apcomplex
ApcomplexMath. logIntegral(Apcomplex z)
Logarithmic integral.static Apfloat
ApfloatMath. logIntegral(Apfloat x)
Logarithmic integral.Apcomplex
FixedPrecisionApcomplexHelper. logIntegral(Apcomplex z)
Logarithmic integral.Apfloat
FixedPrecisionApfloatHelper. logIntegral(Apfloat x)
Logarithmic integral.static Apcomplex
ApcomplexMath. logisticSigmoid(Apcomplex z)
Logistic sigmoid.static Apfloat
ApfloatMath. logisticSigmoid(Apfloat x)
Logistic sigmoid.Apcomplex
FixedPrecisionApcomplexHelper. logisticSigmoid(Apcomplex z)
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 Aprational
AprationalMath. max(Aprational x, Aprational y)
Returns the greater of the two values.Apfloat
FixedPrecisionApfloatHelper. max(Apfloat x, Apfloat y)
Maximum value.static Aprational
AprationalMath. min(Aprational x, Aprational 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.Apint
Apint. mod(Apint x)
Calculates the remainder when divided by an apint.Aprational
Aprational. mod(Aprational x)
Calculates the remainder when divided by an aprational.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. modInverse(Apint a, Apint m)
static Apint
ApintMath. modMultiply(Apint a, Apint b, Apint m)
Modular multiplication.private static Apint
ApintMath. modMultiply(Apint x1, Apint x2, Apint y, Apfloat inverseY)
static Apint
ApintMath. modPow(Apint a, Apint b, Apint m)
Modular power.Apcomplex
Apcomplex. multiply(Apcomplex z)
Multiplies two apcomplex numbers.Apfloat
Apfloat. multiply(Apfloat x)
Multiplies two apfloats.Apint
Apint. multiply(Apint x)
Multiplies two apints.Aprational
Aprational. multiply(Aprational x)
Multiplies two aprational numbers.Apcomplex
FixedPrecisionApcomplexHelper. multiply(Apcomplex z, Apcomplex w)
Multiplication.Apfloat
FixedPrecisionApfloatHelper. multiply(Apfloat x, Apfloat y)
Multiplication.GCDHelper.Matrix
GCDHelper.Matrix. multiply(GCDHelper.Matrix a)
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 Apint
GCDHelper.Matrix. multiplyAdd(Apint a, Apint b, Apint c, Apint d)
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.Apcomplex
Apcomplex. negate()
Negative value.static Apcomplex
ApcomplexMath. negate(Apcomplex z)
Deprecated.UseApcomplex.negate()
.Apfloat
Apfloat. negate()
Negative value.static Apfloat
ApfloatMath. negate(Apfloat x)
Deprecated.UseApfloat.negate()
.Apint
Apint. negate()
Negative value.static Apint
ApintMath. negate(Apint x)
Deprecated.UseApint.negate()
.Aprational
Aprational. negate()
Negative value.static Aprational
AprationalMath. negate(Aprational x)
Deprecated.UseAprational.negate()
.Apcomplex
FixedPrecisionApcomplexHelper. negate(Apcomplex z)
Negation.Apfloat
FixedPrecisionApfloatHelper. negate(Apfloat x)
Negation.private Apcomplex
LambertWHelper. negativeComplexSeries()
private Apfloat
LambertWHelper. negativeRealSeries()
Apfloat
FixedPrecisionApfloatHelper. nextAfter(Apfloat x, Apfloat y)
The number adjacent to the first argument in the direction of the second argument.Apfloat
FixedPrecisionApfloatHelper. nextDown(Apfloat x)
The adjacent value closer to negative infinity.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
ApfloatMath.PiCalculator. p(long n)
private Apcomplex
LambertWHelper. p()
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 Apcomplex
ApcomplexMath. pochhammer(Apcomplex z, Apcomplex n)
Pochhammer symbol.static Apfloat
ApfloatMath. pochhammer(Apfloat x, Apfloat n)
Pochhammer symbol.Apcomplex
FixedPrecisionApcomplexHelper. pochhammer(Apcomplex z, Apcomplex n)
Pochhammer symbol.Apfloat
FixedPrecisionApfloatHelper. pochhammer(Apfloat x, Apfloat n)
Pochhammer symbol.static Apcomplex
ApcomplexMath. polygamma(long n, Apcomplex z)
Polygamma function.static Apfloat
ApfloatMath. polygamma(long n, Apfloat x)
Polygamma function.Apcomplex
FixedPrecisionApcomplexHelper. polygamma(long n, Apcomplex z)
Polygamma function.Apfloat
FixedPrecisionApfloatHelper. polygamma(long n, Apfloat x)
Polygamma function.static Apcomplex
ApcomplexMath. polylog(Apcomplex ν, Apcomplex z)
Polylogarithm.static Apfloat
ApfloatMath. polylog(Apfloat ν, Apfloat x)
Polylogarithm.Apcomplex
FixedPrecisionApcomplexHelper. polylog(Apcomplex ν, Apcomplex z)
Polylogarithm.Apfloat
FixedPrecisionApfloatHelper. polylog(Apfloat ν, Apfloat x)
Polylogarithm.private Apcomplex
LambertWHelper. positiveComplexSeries()
private Apfloat
LambertWHelper. positiveRealSeries()
static Apcomplex
ApcomplexMath. pow(Apcomplex z, long n)
Integer power.static Apcomplex
ApcomplexMath. pow(Apcomplex z, Apcomplex w)
Arbitrary power.static Apfloat
ApfloatMath. pow(Apfloat x, long n)
Integer power.static Apfloat
ApfloatMath. pow(Apfloat x, Apfloat y)
Arbitrary power.static Apint
ApintMath. pow(Apint x, long n)
Integer power.static Aprational
AprationalMath. pow(Aprational x, long n)
Integer power.Apcomplex
FixedPrecisionApcomplexHelper. pow(Apcomplex z, long n)
Integer power.Apcomplex
FixedPrecisionApcomplexHelper. pow(Apcomplex z, Apcomplex w)
Power.Apfloat
FixedPrecisionApfloatHelper. pow(Apfloat x, long n)
Integer power.Apfloat
FixedPrecisionApfloatHelper. pow(Apfloat x, Apfloat y)
Power.Apfloat
RadixConversionHelper.RadixPowerList. pow(long n)
private static Apcomplex
ApcomplexMath. powAbs(Apcomplex z, long n)
private static Apint
GCDHelper. powerOfTwo(long n)
private static Apint
ApintMath. powXMinus1(Apint pow, Apint x, long n)
private static Apint
ApintMath. powXPlus1(Apint pow, Apint x, long n)
long
Apcomplex. precision()
Returns the precision of this apcomplex.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
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
ApcomplexMath. product(Apcomplex... z)
Product of numbers.static Apfloat
ApfloatMath. product(Apfloat... x)
Product of numbers.static Apint
ApintMath. product(Apint... x)
Product of numbers.static Aprational
AprationalMath. product(Aprational... x)
Product of numbers.Apcomplex
FixedPrecisionApcomplexHelper. product(Apcomplex... z)
Product.Apfloat
FixedPrecisionApfloatHelper. product(Apfloat... x)
Product.private Apfloat
ApfloatMath.PiCalculator. q(long n)
void
ApfloatMath.PiCalculator. r(long n1, long n2, ApfloatMath.ApfloatHolder T, ApfloatMath.ApfloatHolder Q, ApfloatMath.ApfloatHolder P)
Apfloat
FixedPrecisionApfloatHelper. random()
Return a uniformly distributed random number0 ≤ x < 1
.Apfloat
FixedPrecisionApfloatHelper. random(int radix)
Return a uniformly distributed random number0 ≤ x < 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 Apcomplex
ApcomplexMath. rawLog(Apcomplex z)
private static Apfloat
ApfloatMath. rawLog(Apfloat x, boolean multiplyByPi)
Apfloat
LambertWHelper. real()
private Apfloat
LambertWHelper. realSeries(Apcomplex p)
private static Apint
GCDHelper. recursiveGcd(Apint a, Apint b)
private static Aprational
AprationalMath. recursiveSum(Aprational[] x, int n, int m)
private Aprational
Aprational. reduce()
static long
ApfloatHelper. reducePrecision(long precision)
static long
ApfloatHelper. reducePrecision(long precision, long extraPrecision)
static Apcomplex
ApfloatHelper. reducePrecision(Apcomplex z)
static Apcomplex
ApfloatHelper. reducePrecision(Apcomplex z, long extraPrecision)
static Apfloat
ApfloatHelper. reducePrecision(Apfloat x)
static Apfloat
ApfloatHelper. reducePrecision(Apfloat x, long extraPrecision)
static Apcomplex
ApcomplexMath. root(Apcomplex z, long n)
Positive integer root.static Apcomplex
ApcomplexMath. root(Apcomplex z, long n, long k)
Positive integer root.static Apfloat
ApfloatMath. root(Apfloat x, long n)
Positive integer root.static Apint[]
ApintMath. root(Apint x, long n)
Positive integer root and remainder.Apcomplex
FixedPrecisionApcomplexHelper. root(Apcomplex z, long n)
Root.Apcomplex
FixedPrecisionApcomplexHelper. root(Apcomplex z, long n, long k)
Root with branch.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.(package private) Apint
Apfloat. roundAway()
(package private) Apint
Aprational. roundAway()
static Apint
ApfloatMath. roundToInteger(Apfloat x, java.math.RoundingMode roundingMode)
Roundsx
to integer using the specified rounding mode.static Apint
AprationalMath. roundToInteger(Aprational 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.static Aprational
AprationalMath. roundToMultiple(Aprational x, Aprational 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 Aprational
RoundingHelper. roundToMultiple(Aprational x, Aprational 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)
long
Apcomplex. scale()
Returns the scale of this apcomplex.static Apcomplex
ApcomplexMath. scale(Apcomplex z, long scale)
Multiply by a power of the radix.long
Apfloat. scale()
Returns the scale of this apfloat.static Apfloat
ApfloatMath. scale(Apfloat x, long scale)
Multiply by a power of the radix.long
Apint. scale()
Returns the scale of this apint.static Apint
ApintMath. scale(Apint x, long scale)
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.Apcomplex
FixedPrecisionApcomplexHelper. scale(Apcomplex z, long scale)
Move the radix point.Apfloat
FixedPrecisionApfloatHelper. scale(Apfloat x, long scale)
Move the radix point.(package private) Apfloat
FixedPrecisionApcomplexHelper. setExponentialPrecision(Apfloat x)
(package private) Apfloat
FixedPrecisionApcomplexHelper. setLogarithmicPrecision(Apfloat x)
static Apcomplex
ApfloatHelper. setPrecision(Apcomplex z, long precision)
private Apcomplex
FixedPrecisionApcomplexHelper. setPrecision(Apcomplex z)
private Apcomplex[]
FixedPrecisionApcomplexHelper. setPrecision(Apcomplex[] z)
private Apfloat
FixedPrecisionApfloatHelper. setPrecision(Apfloat x)
private Apfloat[]
FixedPrecisionApfloatHelper. setPrecision(Apfloat[] x)
(package private) Apfloat
FixedPrecisionApcomplexHelper. setTrigonometricPrecision(Apfloat x)
static Apcomplex
ApcomplexMath. sin(Apcomplex z)
Sine.static Apfloat
ApfloatMath. sin(Apfloat x)
Sine.Apcomplex
FixedPrecisionApcomplexHelper. sin(Apcomplex z)
Sine.Apfloat
FixedPrecisionApfloatHelper. sin(Apfloat x)
Sine.static Apcomplex
ApcomplexMath. sinc(Apcomplex z)
Sinc.static Apfloat
ApfloatMath. sinc(Apfloat x)
Sinc.Apcomplex
FixedPrecisionApcomplexHelper. sinc(Apcomplex z)
Sinc.Apfloat
FixedPrecisionApfloatHelper. sinc(Apfloat x)
Sinc.static Apcomplex
ApcomplexMath. sinh(Apcomplex z)
Hyperbolic sine.static Apfloat
ApfloatMath. sinh(Apfloat x)
Hyperbolic sine.Apcomplex
FixedPrecisionApcomplexHelper. sinh(Apcomplex z)
Hyperbolic sine.Apfloat
FixedPrecisionApfloatHelper. sinh(Apfloat x)
Hyperbolic sine.static Apcomplex
ApcomplexMath. sinhIntegral(Apcomplex z)
Hyperbolic sine integral.static Apfloat
ApfloatMath. sinhIntegral(Apfloat x)
Hyperbolic sine integral.Apcomplex
FixedPrecisionApcomplexHelper. sinhIntegral(Apcomplex z)
Hyperbolic sine integral.Apfloat
FixedPrecisionApfloatHelper. sinhIntegral(Apfloat x)
Hyperbolic sine integral.static Apcomplex
ApcomplexMath. sinIntegral(Apcomplex z)
Sine integral.static Apfloat
ApfloatMath. sinIntegral(Apfloat x)
Sine integral.Apcomplex
FixedPrecisionApcomplexHelper. sinIntegral(Apcomplex z)
Sine integral.Apfloat
FixedPrecisionApfloatHelper. sinIntegral(Apfloat x)
Sine integral.long
Apcomplex. size()
Returns the size of this apcomplex.long
Apfloat. size()
Returns the size of this apfloat.static long
ApfloatHelper. size(Aprational x)
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.private static Apcomplex
ApcomplexMath. sphericalHarmonicY(Apint n, Apint m, Apcomplex ϑ, Apcomplex ϕ)
Apcomplex
FixedPrecisionApcomplexHelper. sphericalHarmonicY(Apcomplex λ, Apcomplex μ, Apcomplex ϑ, Apcomplex ϕ)
Spherical harmonic function.private static Apfloat
RadixConversionHelper. split(Apfloat x, int toRadix, long size, long split, RadixConversionHelper.RadixPowerList radixPowerList)
static Apcomplex
ApcomplexMath. sqrt(Apcomplex z)
Square root.static Apfloat
ApfloatMath. sqrt(Apfloat x)
Square root.static Apint[]
ApintMath. sqrt(Apint x)
Square root and remainder.Apcomplex
FixedPrecisionApcomplexHelper. sqrt(Apcomplex z)
Square root.Apfloat
FixedPrecisionApfloatHelper. sqrt(Apfloat x)
Square root.Apcomplex
Apcomplex. subtract(Apcomplex z)
Subtracts two apcomplex numbers.Apfloat
Apfloat. subtract(Apfloat x)
Subtracts two apfloats.Apint
Apint. subtract(Apint x)
Subtracts two apints.Aprational
Aprational. subtract(Aprational x)
Subtracts two aprational numbers.Apcomplex
FixedPrecisionApcomplexHelper. subtract(Apcomplex z, Apcomplex w)
Subtraction.Apfloat
FixedPrecisionApfloatHelper. subtract(Apfloat x, Apfloat y)
Subtraction.static Apcomplex
ApcomplexMath. sum(Apcomplex... z)
Sum of numbers.static Apfloat
ApfloatMath. sum(Apfloat... x)
Sum of numbers.static Apint
ApintMath. sum(Apint... x)
Sum of numbers.static Aprational
AprationalMath. sum(Aprational... x)
Sum of numbers.Apcomplex
FixedPrecisionApcomplexHelper. sum(Apcomplex... z)
Sum.Apfloat
FixedPrecisionApfloatHelper. sum(Apfloat... x)
Sum.static Apcomplex
ApcomplexMath. tan(Apcomplex z)
Tangent.(package private) static Apcomplex
ApcomplexMath. tan(Apcomplex z, boolean negate)
static Apfloat
ApfloatMath. tan(Apfloat x)
Tangent.Apcomplex
FixedPrecisionApcomplexHelper. tan(Apcomplex z)
Tangent.Apfloat
FixedPrecisionApfloatHelper. tan(Apfloat x)
Tangent.(package private) static Apcomplex
ApcomplexMath. tanFixedPrecision(Apcomplex z)
static Apcomplex
ApcomplexMath. tanh(Apcomplex z)
Hyperbolic tangent.private static Apcomplex
ApcomplexMath. tanh(Apcomplex z, boolean negate)
static Apfloat
ApfloatMath. tanh(Apfloat x)
Hyperbolic tangent.private static Apfloat
ApfloatMath. tanh(Apfloat x, boolean negate)
Apcomplex
FixedPrecisionApcomplexHelper. tanh(Apcomplex z)
Hyperbolic tangent.Apfloat
FixedPrecisionApfloatHelper. tanh(Apfloat x)
Hyperbolic tangent.(package private) static Apcomplex
ApcomplexMath. tanhFixedPrecision(Apcomplex z)
(package private) static Apfloat
ApfloatMath. tanhFixedPrecision(Apfloat x)
boolean
Apcomplex. test(Apcomplex z)
Tests two apcomplex numbers for equality.boolean
Apfloat. test(Apfloat x)
Tests two apfloat numbers for equality.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.Apcomplex
Apcomplex. toRadix(int radix)
Convert this apcomplex to the specified radix.Apfloat
Apfloat. toRadix(int radix)
Convert this apfloat to the specified radix.Apint
Apint. toRadix(int radix)
Convert this apint to the specified radix.Aprational
Aprational. toRadix(int radix)
Convert this aprational 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)
java.lang.String
Apcomplex. toString(boolean pretty)
Returns a string representation of this apcomplex.java.lang.String
Apfloat. toString(boolean pretty)
Returns a string representation of this apfloat.java.lang.String
Apint. toString(boolean pretty)
Returns a string representation of this aprational.java.lang.String
Aprational. toString(boolean pretty)
Returns a string representation of this aprational.Apint
Apfloat. truncate()
Truncates fractional part.static Apint
ApfloatMath. truncate(Apfloat x)
Truncates fractional part.Apint
Aprational. truncate()
Truncates fractional part.Apfloat
FixedPrecisionApfloatHelper. truncate(Apfloat x)
Truncate fractional part.private Apfloat
LambertWHelper. twoPi()
private Apfloat
LambertWHelper. twoPiK()
Apfloat
FixedPrecisionApcomplexHelper. ulp(Apcomplex z)
Unit in the last place.Apfloat
FixedPrecisionApfloatHelper. ulp(Apfloat x)
Unit in the last place.private static long
GCDHelper. v(Apint a)
Apcomplex
FixedPrecisionApcomplexHelper. valueOf(Apcomplex z)
Returns the value with the specified precision.(package private) Apfloat
FixedPrecisionApcomplexHelper. valueOf(Apfloat x)
static Apcomplex
ApcomplexMath. w(Apcomplex z)
Lambert W function.static Apcomplex
ApcomplexMath. w(Apcomplex z, long k)
Lambert W function for the specified branch.static Apfloat
ApfloatMath. w(Apfloat x)
Lambert W function.Apcomplex
FixedPrecisionApcomplexHelper. w(Apcomplex z)
Lambert W function.Apcomplex
FixedPrecisionApcomplexHelper. w(Apcomplex z, long k)
Lambert W function for the specified branch.Apfloat
FixedPrecisionApfloatHelper. w(Apfloat x)
Lambert W function.static Apcomplex
LambertWHelper. w(Apcomplex z)
static Apcomplex
LambertWHelper. w(Apcomplex z, long k)
static Apfloat
LambertWHelper. w(Apfloat x)
void
Apcomplex. writeTo(java.io.Writer out)
Write a string representation of this apcomplex to aWriter
.void
Apcomplex. writeTo(java.io.Writer out, boolean pretty)
Write a string representation of this apcomplex to aWriter
.void
Apfloat. writeTo(java.io.Writer out, boolean pretty)
Write a string representation of this apfloat to aWriter
.void
Apint. writeTo(java.io.Writer out, boolean pretty)
Write a string representation of this aprational to aWriter
.void
Aprational. writeTo(java.io.Writer out)
Write a string representation of this aprational to aWriter
.void
Aprational. writeTo(java.io.Writer out, boolean pretty)
Write a string representation of this aprational to aWriter
.static Apcomplex
ApcomplexMath. zeta(Apcomplex s)
Riemann zeta function.static Apcomplex
ApcomplexMath. zeta(Apcomplex s, Apcomplex a)
Hurwitz zeta function.static Apfloat
ApfloatMath. zeta(Apfloat s)
Riemann zeta function.static Apfloat
ApfloatMath. zeta(Apfloat s, Apfloat a)
Hurwitz zeta function.Apcomplex
FixedPrecisionApcomplexHelper. zeta(Apcomplex s)
Riemann zeta function.Apcomplex
FixedPrecisionApcomplexHelper. zeta(Apcomplex s, Apcomplex a)
Hurwitz zeta function.Apfloat
FixedPrecisionApfloatHelper. zeta(Apfloat s)
Riemann zeta function.Apfloat
FixedPrecisionApfloatHelper. zeta(Apfloat s, Apfloat a)
Hurwitz zeta function.Constructors in org.apfloat that throw ApfloatRuntimeException Constructor Description Apcomplex(java.io.PushbackReader in)
Reads an apcomplex from a reader.Apcomplex(java.lang.String value)
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.Apfloat(java.io.PushbackReader in)
Reads an apfloat from a stream using default precision and radix.Apfloat(java.io.PushbackReader in, long precision)
Reads an apfloat from a stream using the specified precision.Apfloat(java.io.PushbackReader in, long precision, int radix)
Reads an apfloat from a stream using the specified precision and radix.Apfloat(java.lang.String value)
Constructs an apfloat from the specified string.Apfloat(java.lang.String value, long precision)
Constructs an apfloat from the specified string and precision.Apfloat(java.lang.String value, long precision, int radix)
Constructs an apfloat from the specified string, precision and radix.Apfloat(java.math.BigDecimal value)
Creates an apfloat from aBigDecimal
.Apfloat(java.math.BigDecimal value, long precision)
Creates an apfloat from aBigDecimal
.Apfloat(java.math.BigInteger value)
Constructs an apfloat from aBigInteger
.Apfloat(java.math.BigInteger value, long precision)
Constructs an apfloat from aBigInteger
with the specified precision.Apfloat(java.math.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(java.io.PushbackReader in)
Reads an apint from a stream using the default radix.Apint(java.io.PushbackReader in, int radix)
Reads an apint from a stream using the specified radix.Apint(java.lang.String value)
Constructs an apfloat from the specified string.Apint(java.lang.String value, int radix)
Constructs an apfloat from the specified string and radix.Apint(java.math.BigInteger value)
Constructs an apint from aBigInteger
.Apint(java.math.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.Aprational(java.io.PushbackReader in)
Reads an aprational from a reader.Aprational(java.io.PushbackReader in, int radix)
Reads an aprational from a reader.Aprational(java.lang.String value)
Constructs an aprational from a string.Aprational(java.lang.String value, int radix)
Constructs an aprational from a string with the specified radix.Aprational(java.math.BigInteger value)
Constructs an aprational from aBigInteger
.Aprational(java.math.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.EulerHelper(Apfloat n2, long precision, int radix)
PiCalculator(int radix)
RadixPowerList(int fromRadix, int toRadix, long precision)
-
Uses of ApfloatRuntimeException in org.apfloat.aparapi
Methods in org.apfloat.aparapi that throw ApfloatRuntimeException Modifier and Type Method Description void
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
IntKernel. setArrayAccess(ArrayAccess arrayAccess)
void
LongKernel. setArrayAccess(ArrayAccess arrayAccess)
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.internal Modifier and Type Class Description class
ApfloatInternalException
Exception indicating some unexpected apfloat implementation specific error situation.class
BackingStorageException
Exception indicating a backing storage failure.class
ImplementationMismatchException
Exception indicating a different implementation of the apfloat SPI being used in two operands of a calculation.class
RadixMismatchException
Exception indicating a different radix being used in two operands of a calculation.class
TransformLengthExceededException
Exception indicating that the "size" of the numbers used in a multiplication is too large.Methods in org.apfloat.internal that throw ApfloatRuntimeException Modifier and Type Method Description ApfloatImpl
DoubleApfloatImpl. absCeil()
ApfloatImpl
FloatApfloatImpl. absCeil()
ApfloatImpl
IntApfloatImpl. absCeil()
ApfloatImpl
LongApfloatImpl. absCeil()
ApfloatImpl
DoubleApfloatImpl. absFloor()
ApfloatImpl
FloatApfloatImpl. absFloor()
ApfloatImpl
IntApfloatImpl. absFloor()
ApfloatImpl
LongApfloatImpl. absFloor()
java.lang.Double
DoubleAdditionStrategy. add(DataStorage.Iterator src1, DataStorage.Iterator src2, java.lang.Double carry, DataStorage.Iterator dst, long size)
java.lang.Float
FloatAdditionStrategy. add(DataStorage.Iterator src1, DataStorage.Iterator src2, java.lang.Float carry, DataStorage.Iterator dst, long size)
java.lang.Integer
IntAdditionStrategy. add(DataStorage.Iterator src1, DataStorage.Iterator src2, java.lang.Integer carry, DataStorage.Iterator dst, long size)
java.lang.Long
LongAdditionStrategy. add(DataStorage.Iterator src1, DataStorage.Iterator src2, java.lang.Long carry, DataStorage.Iterator dst, long size)
ApfloatImpl
DoubleApfloatImpl. addOrSubtract(ApfloatImpl x, boolean subtract)
ApfloatImpl
FloatApfloatImpl. addOrSubtract(ApfloatImpl x, boolean subtract)
ApfloatImpl
IntApfloatImpl. addOrSubtract(ApfloatImpl x, boolean subtract)
ApfloatImpl
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.private double
DoubleCarryCRTStepStrategy. baseCarry(DataStorage.Iterator srcDst, double carry, long size)
private float
FloatCarryCRTStepStrategy. baseCarry(DataStorage.Iterator srcDst, float carry, long size)
private int
IntCarryCRTStepStrategy. baseCarry(DataStorage.Iterator srcDst, int carry, long size)
private long
LongCarryCRTStepStrategy. baseCarry(DataStorage.Iterator srcDst, long carry, long size)
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)
DataStorage
StepCarryCRTStrategy. carryCRT(DataStorage resultMod0, DataStorage resultMod1, DataStorage resultMod2, long resultSize)
Calculate the final result of a three-NTT convolution.private void
DoubleDiskDataStorage.BlockIterator. checkAvailable()
private void
FloatDiskDataStorage.BlockIterator. checkAvailable()
private void
IntDiskDataStorage.BlockIterator. checkAvailable()
private void
LongDiskDataStorage.BlockIterator. checkAvailable()
(package private) static void
DiskDataStorage. cleanUp()
void
DoubleDiskDataStorage.BlockIterator. close()
Closes the iterator.void
DoubleDiskDataStorage.DoubleDiskArrayAccess. close()
void
DoubleDiskDataStorage.MemoryArrayAccess. close()
void
DoubleDiskDataStorage.TransposedMemoryArrayAccess. close()
void
DoubleMemoryArrayAccess. close()
void
FloatDiskDataStorage.BlockIterator. close()
Closes the iterator.void
FloatDiskDataStorage.FloatDiskArrayAccess. close()
void
FloatDiskDataStorage.MemoryArrayAccess. close()
void
FloatDiskDataStorage.TransposedMemoryArrayAccess. close()
void
FloatMemoryArrayAccess. close()
void
IntDiskDataStorage.BlockIterator. close()
Closes the iterator.void
IntDiskDataStorage.IntDiskArrayAccess. close()
void
IntDiskDataStorage.MemoryArrayAccess. close()
void
IntDiskDataStorage.TransposedMemoryArrayAccess. close()
void
IntMemoryArrayAccess. close()
void
LongDiskDataStorage.BlockIterator. close()
Closes the iterator.void
LongDiskDataStorage.LongDiskArrayAccess. close()
void
LongDiskDataStorage.MemoryArrayAccess. close()
void
LongDiskDataStorage.TransposedMemoryArrayAccess. close()
void
LongMemoryArrayAccess. close()
private int
DoubleApfloatImpl. compareMantissaTo(DoubleApfloatImpl that)
private int
FloatApfloatImpl. compareMantissaTo(FloatApfloatImpl that)
private int
IntApfloatImpl. compareMantissaTo(IntApfloatImpl that)
private int
LongApfloatImpl. compareMantissaTo(LongApfloatImpl that)
int
DoubleApfloatImpl. compareTo(ApfloatImpl x)
int
FloatApfloatImpl. compareTo(ApfloatImpl x)
int
IntApfloatImpl. compareTo(ApfloatImpl x)
int
LongApfloatImpl. compareTo(ApfloatImpl x)
DataStorage
DoubleKaratsubaConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)
DataStorage
DoubleMediumConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)
DataStorage
DoubleShortConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)
DataStorage
FloatKaratsubaConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)
DataStorage
FloatMediumConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)
DataStorage
FloatShortConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)
DataStorage
IntKaratsubaConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)
DataStorage
IntMediumConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)
DataStorage
IntShortConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)
DataStorage
LongKaratsubaConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)
DataStorage
LongMediumConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)
DataStorage
LongShortConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)
DataStorage
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.ApfloatImpl
DoubleApfloatBuilder. createApfloat(double value, long precision, int radix)
ApfloatImpl
DoubleApfloatBuilder. createApfloat(long value, long precision, int radix)
ApfloatImpl
DoubleApfloatBuilder. createApfloat(java.io.PushbackReader in, long precision, int radix, boolean isInteger)
ApfloatImpl
DoubleApfloatBuilder. createApfloat(java.lang.String value, long precision, int radix, boolean isInteger)
ApfloatImpl
FloatApfloatBuilder. createApfloat(double value, long precision, int radix)
ApfloatImpl
FloatApfloatBuilder. createApfloat(long value, long precision, int radix)
ApfloatImpl
FloatApfloatBuilder. createApfloat(java.io.PushbackReader in, long precision, int radix, boolean isInteger)
ApfloatImpl
FloatApfloatBuilder. createApfloat(java.lang.String value, long precision, int radix, boolean isInteger)
ApfloatImpl
IntApfloatBuilder. createApfloat(double value, long precision, int radix)
ApfloatImpl
IntApfloatBuilder. createApfloat(long value, long precision, int radix)
ApfloatImpl
IntApfloatBuilder. createApfloat(java.io.PushbackReader in, long precision, int radix, boolean isInteger)
ApfloatImpl
IntApfloatBuilder. createApfloat(java.lang.String value, long precision, int radix, boolean isInteger)
ApfloatImpl
LongApfloatBuilder. createApfloat(double value, long precision, int radix)
ApfloatImpl
LongApfloatBuilder. createApfloat(long value, long precision, int radix)
ApfloatImpl
LongApfloatBuilder. createApfloat(java.io.PushbackReader in, long precision, int radix, boolean isInteger)
ApfloatImpl
LongApfloatBuilder. createApfloat(java.lang.String value, long precision, int radix, boolean isInteger)
protected abstract DataStorage
AbstractDataStorageBuilder. createCachedDataStorage()
Create a cached data storage.DataStorage
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.DataStorage
AbstractDataStorageBuilder. createDataStorage(long size)
DataStorage
AbstractDataStorageBuilder. createDataStorage(DataStorage dataStorage)
private static DataStorage
DoubleApfloatImpl. createDataStorage(long size)
private static DataStorage
FloatApfloatImpl. createDataStorage(long size)
private static DataStorage
IntApfloatImpl. createDataStorage(long size)
private static DataStorage
LongApfloatImpl. createDataStorage(long size)
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)
java.lang.Double
DoubleAdditionStrategy. divide(DataStorage.Iterator src1, java.lang.Double src2, java.lang.Double carry, DataStorage.Iterator dst, long size)
java.lang.Float
FloatAdditionStrategy. divide(DataStorage.Iterator src1, java.lang.Float src2, java.lang.Float carry, DataStorage.Iterator dst, long size)
java.lang.Integer
IntAdditionStrategy. divide(DataStorage.Iterator src1, java.lang.Integer src2, java.lang.Integer carry, DataStorage.Iterator dst, long size)
java.lang.Long
LongAdditionStrategy. divide(DataStorage.Iterator src1, java.lang.Long src2, java.lang.Long carry, DataStorage.Iterator dst, long size)
private void
DoubleTableFNTStrategy. divideElements(ArrayAccess arrayAccess, double divisor)
private void
FloatTableFNTStrategy. divideElements(ArrayAccess arrayAccess, float divisor)
private void
IntTableFNTStrategy. divideElements(ArrayAccess arrayAccess, int divisor)
private void
LongTableFNTStrategy. divideElements(ArrayAccess arrayAccess, long divisor)
ApfloatImpl
DoubleApfloatImpl. divideShort(ApfloatImpl x)
ApfloatImpl
FloatApfloatImpl. divideShort(ApfloatImpl x)
ApfloatImpl
IntApfloatImpl. divideShort(ApfloatImpl x)
ApfloatImpl
LongApfloatImpl. divideShort(ApfloatImpl x)
private <T> DataStorage
StepCarryCRTStrategy. doCarryCRT(java.lang.Class<T> elementArrayType, DataStorage resultMod0, DataStorage resultMod1, DataStorage resultMod2, long resultSize)
long
DoubleApfloatImpl. equalDigits(ApfloatImpl x)
long
FloatApfloatImpl. equalDigits(ApfloatImpl x)
long
IntApfloatImpl. equalDigits(ApfloatImpl x)
long
LongApfloatImpl. equalDigits(ApfloatImpl x)
private long
DoubleApfloatImpl. findMismatch(DataStorage.Iterator thisIterator, DataStorage.Iterator thatIterator, long size)
private long
FloatApfloatImpl. findMismatch(DataStorage.Iterator thisIterator, DataStorage.Iterator thatIterator, long size)
private long
IntApfloatImpl. findMismatch(DataStorage.Iterator thisIterator, DataStorage.Iterator thatIterator, long size)
private long
LongApfloatImpl. findMismatch(DataStorage.Iterator thisIterator, DataStorage.Iterator thatIterator, long size)
ApfloatImpl
DoubleApfloatImpl. frac()
ApfloatImpl
FloatApfloatImpl. frac()
ApfloatImpl
IntApfloatImpl. frac()
ApfloatImpl
LongApfloatImpl. frac()
(package private) static void
DiskDataStorage. gc()
void
DoubleBuilderFactory. gc()
void
FloatBuilderFactory. gc()
void
IntBuilderFactory. gc()
void
LongBuilderFactory. gc()
private long
DoubleApfloatImpl. getBasePrecision()
private long
FloatApfloatImpl. getBasePrecision()
private long
IntApfloatImpl. getBasePrecision()
private long
LongApfloatImpl. getBasePrecision()
double
DoubleDiskDataStorage.BlockIterator. getDouble()
float
FloatDiskDataStorage.BlockIterator. getFloat()
private int
DoubleApfloatImpl. getInitialDigits()
private int
DoubleApfloatImpl. getInitialDigits(DataStorage dataStorage)
private int
FloatApfloatImpl. getInitialDigits()
private int
FloatApfloatImpl. getInitialDigits(DataStorage dataStorage)
private int
IntApfloatImpl. getInitialDigits()
private int
IntApfloatImpl. getInitialDigits(DataStorage dataStorage)
private int
LongApfloatImpl. getInitialDigits()
private int
LongApfloatImpl. getInitialDigits(DataStorage dataStorage)
int
IntDiskDataStorage.BlockIterator. getInt()
private static long
DoubleApfloatImpl. getLeadingZeros(DataStorage dataStorage, long index)
private static long
FloatApfloatImpl. getLeadingZeros(DataStorage dataStorage, long index)
private static long
IntApfloatImpl. getLeadingZeros(DataStorage dataStorage, long index)
private static long
LongApfloatImpl. getLeadingZeros(DataStorage dataStorage, long index)
private double
DoubleApfloatImpl. getLeastSignificantWord(long index, double word)
private float
FloatApfloatImpl. getLeastSignificantWord(long index, float word)
private int
IntApfloatImpl. getLeastSignificantWord(long index, int word)
private long
LongApfloatImpl. getLeastSignificantWord(long index, long word)
private long
DoubleApfloatImpl. getLeastZeros()
private long
FloatApfloatImpl. getLeastZeros()
private long
IntApfloatImpl. getLeastZeros()
private long
LongApfloatImpl. getLeastZeros()
long
LongDiskDataStorage.BlockIterator. getLong()
private double
DoubleApfloatImpl. getMostSignificantWord()
private static double
DoubleApfloatImpl. getMostSignificantWord(DataStorage dataStorage)
private float
FloatApfloatImpl. getMostSignificantWord()
private static float
FloatApfloatImpl. getMostSignificantWord(DataStorage dataStorage)
private int
IntApfloatImpl. getMostSignificantWord()
private static int
IntApfloatImpl. getMostSignificantWord(DataStorage dataStorage)
private long
LongApfloatImpl. getMostSignificantWord()
private static long
LongApfloatImpl. getMostSignificantWord(DataStorage dataStorage)
private long
DoubleApfloatImpl. getSize()
private long
FloatApfloatImpl. getSize()
private long
IntApfloatImpl. getSize()
private long
LongApfloatImpl. getSize()
private static long
DoubleApfloatImpl. getTrailingZeros(DataStorage dataStorage, long index)
private static long
FloatApfloatImpl. getTrailingZeros(DataStorage dataStorage, long index)
private static long
IntApfloatImpl. getTrailingZeros(DataStorage dataStorage, long index)
private static long
LongApfloatImpl. getTrailingZeros(DataStorage dataStorage, long index)
private DataStorage.Iterator
DoubleApfloatImpl. getZeroPaddedIterator(long start, long end)
private DataStorage.Iterator
FloatApfloatImpl. getZeroPaddedIterator(long start, long end)
private DataStorage.Iterator
IntApfloatImpl. getZeroPaddedIterator(long start, long end)
private DataStorage.Iterator
LongApfloatImpl. getZeroPaddedIterator(long start, long end)
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)
private void
DiskDataStorage.FileStorage. init()
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()
DataStorage.Iterator
DoubleDiskDataStorage. iterator(int mode, long startPosition, long endPosition)
DataStorage.Iterator
DoubleMemoryDataStorage. iterator(int mode, long startPosition, long endPosition)
DataStorage.Iterator
FloatDiskDataStorage. iterator(int mode, long startPosition, long endPosition)
DataStorage.Iterator
FloatMemoryDataStorage. iterator(int mode, long startPosition, long endPosition)
DataStorage.Iterator
IntDiskDataStorage. iterator(int mode, long startPosition, long endPosition)
DataStorage.Iterator
IntMemoryDataStorage. iterator(int mode, long startPosition, long endPosition)
DataStorage.Iterator
LongDiskDataStorage. iterator(int mode, long startPosition, long endPosition)
DataStorage.Iterator
LongMemoryDataStorage. iterator(int mode, long startPosition, long endPosition)
ApfloatImpl
DoubleApfloatImpl. multiply(ApfloatImpl x)
ApfloatImpl
FloatApfloatImpl. multiply(ApfloatImpl x)
ApfloatImpl
IntApfloatImpl. multiply(ApfloatImpl x)
ApfloatImpl
LongApfloatImpl. multiply(ApfloatImpl x)
java.lang.Double
DoubleAdditionStrategy. multiplyAdd(DataStorage.Iterator src1, DataStorage.Iterator src2, java.lang.Double src3, java.lang.Double carry, DataStorage.Iterator dst, long size)
java.lang.Float
FloatAdditionStrategy. multiplyAdd(DataStorage.Iterator src1, DataStorage.Iterator src2, java.lang.Float src3, java.lang.Float carry, DataStorage.Iterator dst, long size)
java.lang.Integer
IntAdditionStrategy. multiplyAdd(DataStorage.Iterator src1, DataStorage.Iterator src2, java.lang.Integer src3, java.lang.Integer carry, DataStorage.Iterator dst, long size)
java.lang.Long
LongAdditionStrategy. multiplyAdd(DataStorage.Iterator src1, DataStorage.Iterator src2, java.lang.Long src3, java.lang.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)
ApfloatImpl
DoubleApfloatImpl. negate()
ApfloatImpl
FloatApfloatImpl. negate()
ApfloatImpl
IntApfloatImpl. negate()
ApfloatImpl
LongApfloatImpl. negate()
void
DoubleDiskDataStorage.BlockIterator. next()
void
FloatDiskDataStorage.BlockIterator. next()
void
IntDiskDataStorage.BlockIterator. next()
void
LongDiskDataStorage.BlockIterator. next()
private void
DiskDataStorage. pad(long position, long size)
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.private void
DiskDataStorage. readToArray(long readPosition, ArrayAccess arrayAccess, int writePosition, int length)
V
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)
.void
DoubleDiskDataStorage.BlockIterator. setDouble(double value)
void
FloatDiskDataStorage.BlockIterator. setFloat(float value)
void
IntDiskDataStorage.BlockIterator. setInt(int value)
void
LongDiskDataStorage.BlockIterator. setLong(long value)
void
DiskDataStorage.FileStorage. setSize(long size)
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)
java.lang.Double
DoubleAdditionStrategy. subtract(DataStorage.Iterator src1, DataStorage.Iterator src2, java.lang.Double carry, DataStorage.Iterator dst, long size)
java.lang.Float
FloatAdditionStrategy. subtract(DataStorage.Iterator src1, DataStorage.Iterator src2, java.lang.Float carry, DataStorage.Iterator dst, long size)
java.lang.Integer
IntAdditionStrategy. subtract(DataStorage.Iterator src1, DataStorage.Iterator src2, java.lang.Integer carry, DataStorage.Iterator dst, long size)
java.lang.Long
LongAdditionStrategy. subtract(DataStorage.Iterator src1, DataStorage.Iterator src2, java.lang.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.java.lang.String
DoubleApfloatImpl. toString(boolean pretty)
java.lang.String
FloatApfloatImpl. toString(boolean pretty)
java.lang.String
IntApfloatImpl. toString(boolean pretty)
java.lang.String
LongApfloatImpl. toString(boolean pretty)
void
DiskDataStorage.FileStorage. transferFrom(java.nio.channels.ReadableByteChannel in, long position, long size)
protected void
DiskDataStorage. transferFrom(java.nio.channels.ReadableByteChannel in, long position, long size)
Transfer from a readable channel, possibly in multiple chunks.void
DiskDataStorage.FileStorage. transferTo(java.nio.channels.WritableByteChannel out, long position, long size)
protected void
DiskDataStorage. transferTo(java.nio.channels.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.private void
DiskDataStorage. writeFromArray(ArrayAccess arrayAccess, int readPosition, long writePosition, int length)
void
DoubleApfloatImpl. writeTo(java.io.Writer out, boolean pretty)
void
FloatApfloatImpl. writeTo(java.io.Writer out, boolean pretty)
void
IntApfloatImpl. writeTo(java.io.Writer out, boolean pretty)
void
LongApfloatImpl. writeTo(java.io.Writer out, boolean pretty)
Constructors in org.apfloat.internal that throw ApfloatRuntimeException Constructor Description BlockIterator(int mode, long startPosition, long endPosition)
BlockIterator(int mode, long startPosition, long endPosition)
BlockIterator(int mode, long startPosition, long endPosition)
BlockIterator(int mode, long startPosition, long endPosition)
DiskDataStorage()
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(java.io.PushbackReader in, long precision, int radix, boolean isInteger)
Create a newDoubleApfloatImpl
instance reading from a stream.DoubleApfloatImpl(java.lang.String value, long precision, int radix, boolean isInteger)
Create a newDoubleApfloatImpl
instance from a String.DoubleDiskArrayAccess(int mode, long fileOffset, int length)
DoubleDiskDataStorage()
Default constructor.FileStorage()
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(java.io.PushbackReader in, long precision, int radix, boolean isInteger)
Create a newFloatApfloatImpl
instance reading from a stream.FloatApfloatImpl(java.lang.String value, long precision, int radix, boolean isInteger)
Create a newFloatApfloatImpl
instance from a String.FloatDiskArrayAccess(int mode, long fileOffset, int length)
FloatDiskDataStorage()
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(java.io.PushbackReader in, long precision, int radix, boolean isInteger)
Create a newIntApfloatImpl
instance reading from a stream.IntApfloatImpl(java.lang.String value, long precision, int radix, boolean isInteger)
Create a newIntApfloatImpl
instance from a String.IntDiskArrayAccess(int mode, long fileOffset, int length)
IntDiskDataStorage()
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(java.io.PushbackReader in, long precision, int radix, boolean isInteger)
Create a newLongApfloatImpl
instance reading from a stream.LongApfloatImpl(java.lang.String value, long precision, int radix, boolean isInteger)
Create a newLongApfloatImpl
instance from a String.LongDiskArrayAccess(int mode, long fileOffset, int length)
LongDiskDataStorage()
Default constructor.ReadOnlyIterator(long startPosition, long endPosition)
ReadOnlyIterator(long startPosition, long endPosition)
ReadOnlyIterator(long startPosition, long endPosition)
ReadOnlyIterator(long startPosition, long endPosition)
ReadWriteIterator(int mode, long startPosition, long endPosition)
ReadWriteIterator(long startPosition, long endPosition)
ReadWriteIterator(int mode, long startPosition, long endPosition)
ReadWriteIterator(long startPosition, long endPosition)
ReadWriteIterator(int mode, long startPosition, long endPosition)
ReadWriteIterator(long startPosition, long endPosition)
ReadWriteIterator(int mode, long startPosition, long endPosition)
ReadWriteIterator(long startPosition, long endPosition)
WriteOnlyIterator(long startPosition, long endPosition)
WriteOnlyIterator(long startPosition, long endPosition)
WriteOnlyIterator(long startPosition, long endPosition)
WriteOnlyIterator(long startPosition, long endPosition)
-
Uses of ApfloatRuntimeException in org.apfloat.samples
Methods in org.apfloat.samples that throw ApfloatRuntimeException 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)
protected Operation<Apfloat>
PiAWT. getOperation(long precision, int radix)
Get the calculation operation to execute.protected Operation<Apfloat>
PiParallelAWT. getOperation(long precision, int radix)
static void
Pi. main(java.lang.String[] args)
Command-line entry point.static void
PiDistributed. main(java.lang.String[] args)
Command-line entry point.static void
PiParallel. main(java.lang.String[] args)
Command-line entry point.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)
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
Pi. run(long precision, int radix, Operation<Apfloat> operation)
Execute an operation and display some additional information.Constructors in org.apfloat.samples that throw ApfloatRuntimeException Constructor Description ChudnovskyPiCalculator(long precision, int radix)
Construct a pi calculator with the specified precision and radix.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.DistributedChudnovskyPiCalculator(PiDistributed.DistributedBinarySplittingPiCalculator calculator, long precision, int radix)
DistributedRamanujanPiCalculator(long precision, int radix)
Construct a pi calculator with the specified precision and radix.DistributedRamanujanPiCalculator(PiDistributed.DistributedBinarySplittingPiCalculator calculator, long precision, int radix)
ParallelBinarySplittingPiCalculator(Pi.BinarySplittingSeries series)
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.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.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.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 ApfloatRuntimeException Modifier and Type Method Description ApfloatImpl
ApfloatImpl. absCeil()
Returns thisApfloatImpl
rounded away from zero.ApfloatImpl
ApfloatImpl. absFloor()
Returns thisApfloatImpl
rounded towards zero.T
AdditionStrategy. add(DataStorage.Iterator src1, DataStorage.Iterator src2, T carry, DataStorage.Iterator dst, long size)
Addition in some base.ApfloatImpl
ApfloatImpl. addOrSubtract(ApfloatImpl x, boolean subtract)
Add or subtract anApfloatImpl
to this object.T
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.DataStorage
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.DataStorage
ConvolutionStrategy. convolute(DataStorage x, DataStorage y, long resultSize)
Convolutes the two sets of data.void
DataStorage. copyFrom(DataStorage dataStorage)
Copies all data from another data storage to this data storage.void
DataStorage. copyFrom(DataStorage dataStorage, long size)
Copies the specified number of elements from another data storage to this data storage.ApfloatImpl
ApfloatBuilder. createApfloat(double value, long precision, int radix)
Create a newApfloatImpl
instance from adouble
.ApfloatImpl
ApfloatBuilder. createApfloat(long value, long precision, int radix)
Create a newApfloatImpl
instance from along
.ApfloatImpl
ApfloatBuilder. createApfloat(java.io.PushbackReader in, long precision, int radix, boolean isInteger)
Create a newApfloatImpl
instance reading from a stream.ApfloatImpl
ApfloatBuilder. createApfloat(java.lang.String value, long precision, int radix, boolean isInteger)
Create a newApfloatImpl
instance from aString
.DataStorage
DataStorageBuilder. createCachedDataStorage(long size)
Get a data storage that is cached in memory, if possible, for the requested size of data.DataStorage
DataStorageBuilder. createDataStorage(long size)
Get an appropriate type of data storage for the requested size of data.DataStorage
DataStorageBuilder. createDataStorage(DataStorage dataStorage)
Convert cached data storage to the appropriate normal data storage type.T
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.T
AdditionStrategy. divide(DataStorage.Iterator src1, T src2, T carry, DataStorage.Iterator dst, long size)
Division in some base.ApfloatImpl
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
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
DataStorage.Iterator. get(java.lang.Class<T> type)
Gets the current element as a the specified element type.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.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 java.lang.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[]
.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.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
ApfloatImpl. multiply(ApfloatImpl x)
Multiply this object by anApfloatImpl
.T
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
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
ApfloatImpl. precision(long precision)
Returns thisApfloatImpl
with the specified precision.long
ApfloatImpl. scale()
Returns the scale of thisApfloatImpl
.<T> void
DataStorage.Iterator. set(java.lang.Class<T> type, T value)
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
.void
DataStorage. setReadOnly()
Sets this data storage as read-only.void
DataStorage. setSize(long size)
Sets the size of the data storage.private void
DataStorage. setSubsequenced()
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.DataStorage
DataStorage. subsequence(long offset, long length)
Get a subsequence of this data storage.T
AdditionStrategy. subtract(DataStorage.Iterator src1, DataStorage.Iterator src2, T carry, DataStorage.Iterator dst, long size)
Subtraction in some base.java.lang.String
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
ApfloatImpl. writeTo(java.io.Writer out, boolean pretty)
Print thisApfloatImpl
to a stream.Constructors in org.apfloat.spi that throw ApfloatRuntimeException Constructor Description AbstractIterator(int mode, long startPosition, long endPosition)
Construct a new iterator.
-