Package org.zfcj.math.numbers
package org.zfcj.math.numbers
Core numeric types for integer and
real-valued arithmetic
-
ClassDescriptionRepresents the aleph number aleph-zero, also called aleph-nought or aleph-null, and written as ℵ₀.
AlephNumbers represent the cardinalities of infinite sets.ACardinalNumberis what is commonly called the cardinality or number of elements of a set.ACountableNumberis aCardinalNumberthat is either aNaturalNumberorAleph0The Euclidean Algorithm is an efficient method for computing the (GCD) greatest common divisor of a set of integersA container forThreadLocals that provide error thresholds for floating point calculationsRepresents a generic uncountable infinite cardinalAny integer number such as -12, 14, 0, 1 google, etc.ABinaryOperatorthat adds twoIntegers and returns the sumABinaryOperatorthat divides oneIntegers by another and returns their quotientABinaryOperatorthat divides oneIntegers by another and returns the remainderABinaryOperatorthat multiplies twoIntegers and returns their productABinaryOperatorthat subtracts oneIntegerfrom another and returns the differenceIrrationalNumber<N extends PositiveInteger>AnIrrationalNumberis aRealNumberthat is not aRationalNumber.AFunctionthat calculates the least common multiple of a set ofIntegersANaturalNumberis a non-negativeIntegerRepresents an actualized negative infinity, denoted as -∞, aRealNumberless than any otherRealNumberA number of some type, ie real number, integer, etc.AnRuntimeExceptionthat indicates a loss of numeric precision occurred.Represents an actualized positive infinity, denoted as +∞, aRealNumbergreater than any otherRealNumberAPositiveIntegeris aNaturalNumberthat isn'tZero.ABinaryOperatorthat add twoRationalNumbers and returns the sumABinaryOperatorthat multiplies twoRealNumbers and returns the productARationalNumber, also called a fraction, is aRealNumberthat can be defined as a ratio of twoIntegers.AFunctionthat calculates the absolute value of aRealNumberABinaryOperationthat returns the sum of twoRealNumbersABinaryOperatorthat divides twoRealNumbers and returns the quotientABinaryOperatorthat computes the exponentiation of oneRealNumberby anotherABinaryOperatorthat computes the modulo of oneRealNumberby anotherABinaryOperatorthat multiplies twoRealNumbers and returns their productARealNumberis an element of the set ofRealNumbersℝABinaryOperatorthat subtracts oneRealNumberfrom another and returns their difference