Uses of Class
org.apfloat.Apint
-
Packages that use Apint Package Description org.apfloat The apfloat Application Programming Interface (API).org.apfloat.calc Arbitrary precision calculator interactive application. -
-
Uses of Apint in org.apfloat
Fields in org.apfloat declared as Apint Modifier and Type Field Description private Apint
Aprational. denominator
private Apint
ContinuedFractionHelper.ContinuedFractionIterator. i
private Apint
LambertWHelper. minusOne
private Apint
Aprational. numerator
Apint
HypergeometricHelper.Hypergeometric2F1Helper. one
private Apint
HypergeometricHelper. one
private Apint
LambertWHelper. one
private Apint
ZetaHelper. one
static Apint
Apcomplex. ONE
Constant for one.(package private) static Apint[]
Apcomplex. ONES
Apint
GCDHelper.Matrix. r11
Apint
GCDHelper.Matrix. r12
Apint
GCDHelper.Matrix. r21
Apint
GCDHelper.Matrix. r22
private Apint
LambertWHelper. three
private Apint
BesselHelper. two
private Apint
LambertWHelper. two
private Apint
ZetaHelper. two
private Apint
HypergeometricHelper. zero
static Apint
Apcomplex. ZERO
Constant for zero.(package private) static Apint[]
Apcomplex. ZEROS
Methods in org.apfloat that return Apint Modifier and Type Method Description (package private) Apint
Apint. abs()
static Apint
ApintMath. abs(Apint x)
Absolute value.Apint
Apint. add(Apint x)
Adds two apints.private static Apint[]
GCDHelper. binaryDivide(Apint a, Apint b)
private static Apint
HurwitzZetaHelper. binarySearch(Apcomplex s, Apcomplex a, long precision, long targetScale)
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 Apint[]
ApintMath. cbrt(Apint x)
Cube root and remainder.Apint
Apfloat. ceil()
Ceiling function.static Apint
ApfloatMath. ceil(Apfloat x)
Ceiling function.Apint
Apint. ceil()
Ceiling function.Apint
Aprational. ceil()
Ceiling function.private static Apint
GCDHelper. cmod(Apint a, Apint m)
static Apint[]
ApfloatMath. continuedFraction(Apfloat x, int n)
Generates the firstn
terms in the continued fraction representation ofx
.static Apint[]
AprationalMath. continuedFraction(Aprational x, int n)
Generates the firstn
terms in the continued fraction representation ofx
.static Apint
ApintMath. copySign(Apint x, Apint y)
Copy sign from one argument to another.Apint
Apint. denominator()
Denominator of this aprational.Apint
Aprational. denominator()
Denominator of this aprational.static Apint[]
ApintMath. div(Apint x, Apint y)
Quotient and remainder.Apint
Apint. divide(Apint x)
Divides two apints.static Apint
ApintMath. doubleFactorial(long n)
Double factorial function.static Apint
ApintMath. doubleFactorial(long n, int radix)
Double factorial function.private static Apint
GCDHelper. elementaryGcd(Apint a, Apint b)
static Apint
ApintMath. factorial(long n)
Factorial function.static Apint
ApintMath. factorial(long n, int radix)
Factorial function.Apint
Apfloat. floor()
Floor function.static Apint
ApfloatMath. floor(Apfloat x)
Floor function.Apint
Apint. floor()
Floor function.Apint
Aprational. floor()
Floor function.Apint
Apint. frac()
Returns the fractional part.static Apint
ApintMath. gcd(Apint a, Apint b)
Greatest common divisor.static Apint
GCDHelper. gcd(Apint a, Apint b)
private static Apint[]
AprationalMath. harmonicNumber(Apint n, Apint m, long r)
static Apint
ApintMath. lcm(Apint a, Apint b)
Least common multiple.static Apint
ApintMath. max(Apint x, Apint y)
Returns the greater of the two values.static Apint
ApintMath. min(Apint x, Apint y)
Returns the smaller of the two values.Apint
Apint. mod(Apint x)
Calculates the remainder when divided by an apint.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.Apint
Apint. multiply(Apint x)
Multiplies two apints.private static Apint
GCDHelper.Matrix. multiplyAdd(Apint a, Apint b, Apint c, Apint d)
Apint
Apint. negate()
Negative value.static Apint
ApintMath. negate(Apint x)
Deprecated.Usenegate()
.Apint
ContinuedFractionHelper.ContinuedFractionIterator. next()
Apint
Apint. numerator()
Numerator of this aprational.Apint
Aprational. numerator()
Numerator of this aprational.private static Apint
ApintMath. pochhammer(long n, long m, int radix)
private static Apint
ApintMath. pochhammer(Apint n, Apint m)
static Apint
ApintMath. pow(Apint x, long n)
Integer power.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)
static Apint
ApintMath. product(Apint... x)
Product of numbers.static Apint
ApintMath. random(long digits)
Generates a random number.static Apint
ApintMath. random(long digits, int radix)
Generates a random number.private static Apint
GCDHelper. recursiveGcd(Apint a, Apint b)
static Apint[]
ApintMath. root(Apint x, long n)
Positive integer root and remainder.(package private) Apint
Apfloat. roundAway()
(package private) Apint
Apint. 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.static Apint
RoundingHelper. roundToInteger(Apfloat x, java.math.RoundingMode roundingMode)
static Apint
ApintMath. scale(Apint x, long scale)
Multiply by a power of the radix.static Apint[]
ApintMath. sqrt(Apint x)
Square root and remainder.Apint
Apint. subtract(Apint x)
Subtracts two apints.static Apint
ApintMath. sum(Apint... x)
Sum of numbers.Apint
Apint. toRadix(int radix)
Convert this apint to the specified radix.Apint
Apfloat. truncate()
Truncates fractional part.static Apint
ApfloatMath. truncate(Apfloat x)
Truncates fractional part.Apint
Apint. truncate()
Truncates fractional part.Apint
Aprational. truncate()
Truncates fractional part.Methods in org.apfloat that return types with arguments of type Apint Modifier and Type Method Description static java.util.Iterator<Apint>
ContinuedFractionHelper. continuedFraction(Apfloat x)
static java.util.Iterator<Apint>
ContinuedFractionHelper. continuedFraction(Aprational x)
Methods in org.apfloat with parameters of type Apint Modifier and Type Method Description static Apint
ApintMath. abs(Apint x)
Absolute value.Apint
Apint. add(Apint x)
Adds two apints.private static Apint[]
GCDHelper. binaryDivide(Apint a, Apint b)
static Apint
ApintMath. binomial(Apint n, Apint k)
Binomial coefficient.static Apint[]
ApintMath. cbrt(Apint x)
Cube root and remainder.private static Apint
GCDHelper. cmod(Apint a, Apint m)
int
Apint. compareTo(Apint x)
Compare this apint to the specified apint.static Apint
ApintMath. copySign(Apint x, Apint y)
Copy sign from one argument to another.static Apint[]
ApintMath. div(Apint x, Apint y)
Quotient and remainder.Apint
Apint. divide(Apint x)
Divides two apints.private static Apint
GCDHelper. elementaryGcd(Apint a, Apint b)
private static Apcomplex
ApcomplexMath. fresnelTerm(Apint one, Apfloat half, Apfloat invSqrtPi, Apcomplex iz2, Apcomplex iHalfPiZ2)
static Apint
ApintMath. gcd(Apint a, Apint b)
Greatest common divisor.static Apint
GCDHelper. gcd(Apint a, Apint b)
private static GCDHelper.HalfGcdType
GCDHelper. halfBinaryGcd(Apint a, Apint b, long k)
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)
private static Apcomplex
HurwitzZetaHelper. I(Apcomplex s, Apcomplex a, Apint N)
private static boolean
RoundingHelper. isEven(Apint x)
static Apint
ApintMath. lcm(Apint a, Apint b)
Least common multiple.static long
ApfloatHelper. longValueExact(Apint x)
static Apint
ApintMath. max(Apint x, Apint y)
Returns the greater of the two values.static Apint
ApintMath. min(Apint x, Apint y)
Returns the smaller of the two values.Apint
Apint. mod(Apint x)
Calculates the remainder when divided by an apint.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.Apint
Apint. multiply(Apint x)
Multiplies two apints.private static Apint
GCDHelper.Matrix. multiplyAdd(Apint a, Apint b, Apint c, Apint d)
static Apint
ApintMath. negate(Apint x)
Deprecated.Usenegate()
.private static Apint
ApintMath. pochhammer(Apint n, Apint m)
static Aprational
AprationalMath. pochhammer(Aprational x, Apint n)
Pochhammer symbol.static Apint
ApintMath. pow(Apint x, long n)
Integer power.private static Apint
ApintMath. powXMinus1(Apint pow, Apint x, long n)
private static Apint
ApintMath. powXPlus1(Apint pow, Apint x, long n)
static Apint
ApintMath. product(Apint... x)
Product of numbers.private static Apfloat
HurwitzZetaHelper. R(Apcomplex s, Apcomplex a, Apint N, long M)
private static Apint
GCDHelper. recursiveGcd(Apint a, Apint b)
static Apint[]
ApintMath. root(Apint x, long n)
Positive integer root and remainder.static Apint
ApintMath. scale(Apint x, long scale)
Multiply by a power of the radix.private static Apcomplex
ApcomplexMath. sphericalHarmonicY(Apint n, Apint m, Apcomplex ϑ, Apcomplex ϕ)
static Apint[]
ApintMath. sqrt(Apint x)
Square root and remainder.Apint
Apint. subtract(Apint x)
Subtracts two apints.protected abstract T
ContinuedFractionHelper.ContinuedFractionIterator. subtract(T x, Apint y)
static Apint
ApintMath. sum(Apint... x)
Sum of numbers.private static Apcomplex
HurwitzZetaHelper. T(Apcomplex s, Apcomplex a, Apint N, long M)
boolean
Apint. test(Apint x)
Tests two apint numbers for equality.static java.math.BigInteger
ApfloatHelper. toBigInteger(Apint x)
private static long
GCDHelper. v(Apint a)
Method parameters in org.apfloat with type arguments of type Apint Modifier and Type Method Description static java.util.Iterator<Aprational>
ContinuedFractionHelper. convergents(java.util.Iterator<Apint> continuedFraction, int radix)
Constructors in org.apfloat with parameters of type Apint Constructor Description 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.Matrix(Apint r11, Apint r12, Apint r21, Apint r22)
-
Uses of Apint in org.apfloat.calc
Methods in org.apfloat.calc that return Apint Modifier and Type Method Description private Apint
ApfloatCalculatorImpl.AprationalFunctions. root(Apint x, long y)
Methods in org.apfloat.calc with parameters of type Apint Modifier and Type Method Description private Apint
ApfloatCalculatorImpl.AprationalFunctions. root(Apint x, long y)
-