Uses of Class
org.apfloat.Apint
-
Packages that use Apint Package Description org.apfloat The apfloat Application Programming Interface (API).org.apfloat.jscience JScience wrapper for apfloat. -
-
Uses of Apint in org.apfloat
Fields in org.apfloat declared as Apint Modifier and Type Field Description static Apint
Apcomplex. ONE
Constant for one.static Apint
Apcomplex. ZERO
Constant for zero.Methods in org.apfloat that return Apint Modifier and Type Method Description static Apint
ApintMath. abs(Apint x)
Absolute value.Apint
Apint. add(Apint x)
Adds two apints.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.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. 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
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.static Apint
ApintMath. modMultiply(Apint a, Apint b, Apint m)
Modular multiplication.static Apint
ApintMath. modPow(Apint a, Apint b, Apint m)
Modular power.Apint
Apint. multiply(Apint x)
Multiplies two apints.Apint
Apint. negate()
Negative value.static Apint
ApintMath. negate(Apint x)
Deprecated.Usenegate()
.Apint
Apint. numerator()
Numerator of this aprational.Apint
Aprational. numerator()
Numerator of this aprational.static Apint
ApintMath. pow(Apint x, long n)
Integer power.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.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.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 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.static Apint[]
ApintMath. cbrt(Apint x)
Cube root and remainder.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.static Apint
ApintMath. gcd(Apint a, Apint b)
Greatest common divisor.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.static Apint
ApintMath. modMultiply(Apint a, Apint b, Apint m)
Modular multiplication.static Apint
ApintMath. modPow(Apint a, Apint b, Apint m)
Modular power.Apint
Apint. multiply(Apint x)
Multiplies two apints.static Apint
ApintMath. negate(Apint x)
Deprecated.Usenegate()
.static Apint
ApintMath. pow(Apint x, long n)
Integer power.static Apint
ApintMath. product(Apint... x)
Product of numbers.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.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.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. -
Uses of Apint in org.apfloat.jscience
Methods in org.apfloat.jscience that return Apint Modifier and Type Method Description static Apint
ModuloApintField. getModulus()
Returns the modulus ornull
if modulo reduction is not done.static Apint
ModuloApintField. reduce(Apint value)
Reduce the value with the current modulus.Methods in org.apfloat.jscience with parameters of type Apint Modifier and Type Method Description static Apint
ModuloApintField. reduce(Apint value)
Reduce the value with the current modulus.static void
ModuloApintField. setModulus(Apint modulus)
Sets the modulus.Constructors in org.apfloat.jscience with parameters of type Apint Constructor Description ModuloApintField(Apint value)
Constructs a new integer field object with the specified value.
-