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 ApintApcomplex.ONEConstant for one.static final ApintApcomplex.ZEROConstant for zero.Methods in org.apfloat that return ApintModifier and TypeMethodDescriptionstatic ApintAbsolute value.Adds two apints.static ApintApintMath.binomial(long n, long k) Binomial coefficient.static ApintApintMath.binomial(long n, long k, int radix) Binomial coefficient.static ApintBinomial coefficient.static Apint[]Cube root and remainder.Apfloat.ceil()Ceiling function.static ApintCeiling function.Apint.ceil()Ceiling function.Aprational.ceil()Ceiling function.static Apint[]ApfloatMath.continuedFraction(Apfloat x, int n) Generates the firstnterms in the continued fraction representation ofx.static Apint[]AprationalMath.continuedFraction(Aprational x, int n) Generates the firstnterms in the continued fraction representation ofx.static ApintCopy 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 ApintApintMath.doubleFactorial(long n) Double factorial function.static ApintApintMath.doubleFactorial(long n, int radix) Double factorial function.static ApintApintMath.factorial(long n) Factorial function.static ApintApintMath.factorial(long n, int radix) Factorial function.Apfloat.floor()Floor function.static ApintFloor function.Apint.floor()Floor function.Aprational.floor()Floor function.Apint.frac()Returns the fractional part.static ApintGreatest common divisor.static ApintLeast common multiple.static ApintReturns the greater of the two values.static ApintReturns the smaller of the two values.Calculates the remainder when divided by an apint.static ApintApintMath.modMultiply(Apint a, Apint b, Apint m) Modular multiplication.static ApintModular power.Multiplies two apints.Apint.negate()Negative value.static ApintDeprecated.Apint.numerator()Numerator of this aprational.Aprational.numerator()Numerator of this aprational.static ApintInteger power.static ApintProduct of numbers.static ApintApintMath.random(long digits) Generates a random number.static ApintApintMath.random(long digits, int radix) Generates a random number.static Apint[]Positive integer root and remainder.static ApintApfloatMath.roundToInteger(Apfloat x, RoundingMode roundingMode) Roundsxto integer using the specified rounding mode.static ApintAprationalMath.roundToInteger(Aprational x, RoundingMode roundingMode) Roundsxto integer using the specified rounding mode.static ApintMultiply by a power of the radix.static Apint[]Square root and remainder.Subtracts two apints.static ApintSum of numbers.Apint.toRadix(int radix) Convert this apint to the specified radix.Apfloat.truncate()Truncates fractional part.static ApintTruncates fractional part.Apint.truncate()Truncates fractional part.Aprational.truncate()Truncates fractional part.Methods in org.apfloat with parameters of type ApintModifier and TypeMethodDescriptionstatic ApintAbsolute value.Adds two apints.static ApintBinomial coefficient.static Apint[]Cube root and remainder.intCompare this apint to the specified apint.static ApintCopy sign from one argument to another.static Apint[]Quotient and remainder.Divides two apints.static ApintGreatest common divisor.static AprationalAprationalMath.harmonicNumber(Apint n) Harmonic number.static AprationalAprationalMath.harmonicNumber(Apint n, Apint r) Generalized harmonic number.static ApintLeast common multiple.static ApintReturns the greater of the two values.static ApintReturns the smaller of the two values.Calculates the remainder when divided by an apint.static ApintApintMath.modMultiply(Apint a, Apint b, Apint m) Modular multiplication.static ApintModular power.Multiplies two apints.static ApintDeprecated.Usenegate().static AprationalAprationalMath.pochhammer(Aprational x, Apint n) Pochhammer symbol.static ApintInteger power.static ApintProduct of numbers.static Apint[]Positive integer root and remainder.static ApintMultiply by a power of the radix.static Apint[]Square root and remainder.Subtracts two apints.static ApintSum of numbers.booleanTests 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 ApintModuloApintField.getModulus()Returns the modulus ornullif modulo reduction is not done.static ApintReduce the value with the current modulus.Methods in org.apfloat.jscience with parameters of type ApintModifier and TypeMethodDescriptionstatic ApintReduce the value with the current modulus.static voidModuloApintField.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().