Uses of Class
org.apfloat.Apint
Packages that use Apint
Package
Description
The apfloat Application Programming Interface (API).
JScience wrapper for apfloat.
-
Uses of Apint in org.apfloat
Fields in org.apfloat declared as ApintModifier and TypeFieldDescriptionstatic final Apint
Apcomplex.ONE
Constant for one.static final Apint
Apcomplex.ZERO
Constant for zero.Methods in org.apfloat that return ApintModifier and TypeMethodDescriptionstatic Apint
Absolute value.Adds two apints.static Apint
ApintMath.binomial
(long n, long k) Binomial coefficient.static Apint
ApintMath.binomial
(long n, long k, int radix) Binomial coefficient.static Apint
Binomial coefficient.static Apint[]
Cube root and remainder.Apfloat.ceil()
Ceiling function.static Apint
Ceiling function.Apint.ceil()
Ceiling function.Aprational.ceil()
Ceiling function.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
Copy sign from one argument to another.Apint.denominator()
Denominator of this aprational.Aprational.denominator()
Denominator of this aprational.static Apint[]
Quotient and remainder.Divides two apints.static Apint
ApintMath.doubleFactorial
(long n) Double factorial function.static Apint
ApintMath.doubleFactorial
(long n, int radix) Double factorial function.static Apint
ApintMath.factorial
(long n) Factorial function.static Apint
ApintMath.factorial
(long n, int radix) Factorial function.Apfloat.floor()
Floor function.static Apint
Floor function.Apint.floor()
Floor function.Aprational.floor()
Floor function.Apint.frac()
Returns the fractional part.static Apint
Greatest common divisor.static Apint
Least common multiple.static Apint
Returns the greater of the two values.static Apint
Returns the smaller of the two values.Calculates the remainder when divided by an apint.static Apint
ApintMath.modMultiply
(Apint a, Apint b, Apint m) Modular multiplication.static Apint
Modular power.Multiplies two apints.Apint.negate()
Negative value.static Apint
Deprecated.Apint.numerator()
Numerator of this aprational.Aprational.numerator()
Numerator of this aprational.static Apint
Integer power.static Apint
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[]
Positive integer root and remainder.static Apint
ApfloatMath.roundToInteger
(Apfloat x, RoundingMode roundingMode) Roundsx
to integer using the specified rounding mode.static Apint
AprationalMath.roundToInteger
(Aprational x, RoundingMode roundingMode) Roundsx
to integer using the specified rounding mode.static Apint
Multiply by a power of the radix.static Apint[]
Square root and remainder.Subtracts two apints.static Apint
Sum of numbers.Apint.toRadix
(int radix) Convert this apint to the specified radix.Apfloat.truncate()
Truncates fractional part.static Apint
Truncates fractional part.Apint.truncate()
Truncates fractional part.Aprational.truncate()
Truncates fractional part.Methods in org.apfloat with parameters of type ApintModifier and TypeMethodDescriptionstatic Apint
Absolute value.Adds two apints.static Apint
Binomial coefficient.static Apint[]
Cube root and remainder.int
Compare this apint to the specified apint.static Apint
Copy sign from one argument to another.static Apint[]
Quotient and remainder.Divides two apints.static Apint
Greatest common divisor.static Aprational
AprationalMath.harmonicNumber
(Apint n) Harmonic number.static Aprational
AprationalMath.harmonicNumber
(Apint n, Apint r) Generalized harmonic number.static Apint
Least common multiple.static Apint
Returns the greater of the two values.static Apint
Returns the smaller of the two values.Calculates the remainder when divided by an apint.static Apint
ApintMath.modMultiply
(Apint a, Apint b, Apint m) Modular multiplication.static Apint
Modular power.Multiplies two apints.static Apint
Deprecated.Usenegate()
.static Aprational
AprationalMath.pochhammer
(Aprational x, Apint n) Pochhammer symbol.static Apint
Integer power.static Apint
Product of numbers.static Apint[]
Positive integer root and remainder.static Apint
Multiply by a power of the radix.static Apint[]
Square root and remainder.Subtracts two apints.static Apint
Sum of numbers.boolean
Tests two apint numbers for equality.Constructors in org.apfloat with parameters of type ApintModifierConstructorDescriptionAprational
(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 ApintModifier and TypeMethodDescriptionstatic Apint
ModuloApintField.getModulus()
Returns the modulus ornull
if modulo reduction is not done.static Apint
Reduce the value with the current modulus.Methods in org.apfloat.jscience with parameters of type ApintModifier and TypeMethodDescriptionstatic Apint
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 ApintModifierConstructorDescriptionModuloApintField
(Apint value) Constructs a new integer field object with the specified value.
negate()
.