Uses of Interface
org.zfcj.math.numbers.RealNumber
Packages that use RealNumber
Package
Description
Core numeric types for integer and
real-valued arithmetic
Provides the auto-generated
ConcreteNumber abstract
base class along with its singleton sub-types Zero,
One, Two, etc and supporting types-
Uses of RealNumber in org.zfcj.math.numbers
Subinterfaces of RealNumber in org.zfcj.math.numbersModifier and TypeInterfaceDescriptioninterfaceAny integer number such as -12, 14, 0, 1 google, etc.interfaceIrrationalNumber<N extends PositiveInteger>AnIrrationalNumberis aRealNumberthat is not aRationalNumber.interfaceANaturalNumberis a non-negativeIntegerinterfaceAPositiveIntegeris aNaturalNumberthat isn'tZero.interfaceARationalNumber, also called a fraction, is aRealNumberthat can be defined as a ratio of twoIntegers.Classes in org.zfcj.math.numbers that implement RealNumberModifier and TypeClassDescriptionfinal classRepresents an actualized negative infinity, denoted as -∞, aRealNumberless than any otherRealNumberfinal classRepresents an actualized positive infinity, denoted as +∞, aRealNumbergreater than any otherRealNumberMethods in org.zfcj.math.numbers that return RealNumberModifier and TypeMethodDescriptiondefault RealNumberRealNumber.abs()Returns thisRealNumber's absolute valueRealAbsoluteValue.apply(RealNumber number) RealAddition.apply(RealNumber r, RealNumber s) RealDivision.apply(RealNumber r, RealNumber s) RealExponentiation.apply(RealNumber r, RealNumber s) RealModulo.apply(RealNumber t, RealNumber u) RealMultiplication.apply(RealNumber r, RealNumber s) RealSubtraction.apply(RealNumber r, RealNumber s) static RealNumberRealAbsoluteValue.calculate(RealNumber number) Calculates theRealNumberthat is the absolute value of the givenRealNumberstatic RealNumberRealAddition.calculate(RealNumber r, RealNumber s) Calculates the sum of the givenRealNumbers r and s and returns the resultstatic RealNumberRealDivision.calculate(RealNumber r, RealNumber s) Calculates the quotient of the givenRealNumbers r and s and returns the resultstatic RealNumberRealExponentiation.calculate(RealNumber base, RealNumber exp) Calculates the power of exponentiation of the givenRealNumberbase and exponentstatic RealNumberRealModulo.calculate(RealNumber dividend, RealNumber divisor) Calculates the modulo of the givenRealNumbersstatic RealNumberRealMultiplication.calculate(RealNumber r, RealNumber s) Calculates the product of multiplication of the givenRealNumberfactorsstatic RealNumberRealSubtraction.calculate(RealNumber minuend, RealNumber subtrahend) Calculates the difference of subtracting the givenRealNumbersdefault RealNumberRealNumber.dividedBy(RealNumber n) Returns the quotient of dividing thisRealNumberby the givenRealNumberstatic RealNumberFloatingPointMath.getRealMaxError()default RealNumberRealNumber.minus(RealNumber n) Returns the difference between thisRealNumberand the givenRealNumberdefault RealNumberRealNumber.modulo(RealNumber n) Returns the remainder of dividing thisRealNumberby the givenRealNumberstatic RealNumberRealNumber.of(double d) Creates a newRealNumberfor the given double precision valuestatic RealNumberRealNumber.of(BigDecimal number) Creates a newRealNumberfor the givenBigIntegervaluedefault RealNumberRealNumber.plus(RealNumber n) Returns the sum of thisRealNumberand the givenRealNumberdefault RealNumberRealNumber.pow(RealNumber exponent) Returns the product of exponentiating thisRealNumberby the givenRealNumberdefault RealNumberRealNumber.times(RealNumber n) Returns the product of multiplying thisRealNumberby the givenRealNumberdefault RealNumberRealNumber.truncate()Truncates thisRealNumbertowardZEROMethods in org.zfcj.math.numbers with parameters of type RealNumberModifier and TypeMethodDescriptiondefault booleanRealNumber.almostEquals(RealNumber n) Returns true if the givenRealNumberis almost equal to thisRealNumberwhere almost equal means that their absolute difference is less than FloatingPointMath.getRealMaxError()RealAbsoluteValue.apply(RealNumber number) RealAddition.apply(RealNumber r, RealNumber s) RealDivision.apply(RealNumber r, RealNumber s) RealExponentiation.apply(RealNumber r, RealNumber s) RealModulo.apply(RealNumber t, RealNumber u) RealMultiplication.apply(RealNumber r, RealNumber s) RealSubtraction.apply(RealNumber r, RealNumber s) static RealNumberRealAbsoluteValue.calculate(RealNumber number) Calculates theRealNumberthat is the absolute value of the givenRealNumberstatic RealNumberRealAddition.calculate(RealNumber r, RealNumber s) Calculates the sum of the givenRealNumbers r and s and returns the resultstatic RealNumberRealDivision.calculate(RealNumber r, RealNumber s) Calculates the quotient of the givenRealNumbers r and s and returns the resultstatic RealNumberRealExponentiation.calculate(RealNumber base, RealNumber exp) Calculates the power of exponentiation of the givenRealNumberbase and exponentstatic RealNumberRealModulo.calculate(RealNumber dividend, RealNumber divisor) Calculates the modulo of the givenRealNumbersstatic RealNumberRealMultiplication.calculate(RealNumber r, RealNumber s) Calculates the product of multiplication of the givenRealNumberfactorsstatic RealNumberRealSubtraction.calculate(RealNumber minuend, RealNumber subtrahend) Calculates the difference of subtracting the givenRealNumbersdefault intInteger.compareTo(RealNumber n) default intIrrationalNumber.compareTo(RealNumber n) intNegativeInfinity.compareTo(RealNumber n) intPositiveInfinity.compareTo(RealNumber n) default intRealNumber.compareTo(RealNumber n) default RealNumberRealNumber.dividedBy(RealNumber n) Returns the quotient of dividing thisRealNumberby the givenRealNumberdefault booleanRealNumber.greaterThan(RealNumber n) Returns true if thisRealNumberis greater than the givenRealNumber, false otherwisedefault booleanRealNumber.greaterThanOrEqualTo(RealNumber n) Returns true if thisRealNumberis greater than or equal to the givenRealNumber, false otherwisedefault booleanRealNumber.lessThan(RealNumber n) Returns true if thisRealNumberis less than the givenRealNumber, false otherwisedefault booleanRealNumber.lessThanOrEqualTo(RealNumber n) Returns true if thisRealNumberis less than or equal to the givenRealNumber, false otherwisedefault RealNumberRealNumber.minus(RealNumber n) Returns the difference between thisRealNumberand the givenRealNumberdefault RealNumberRealNumber.modulo(RealNumber n) Returns the remainder of dividing thisRealNumberby the givenRealNumberdefault RealNumberRealNumber.plus(RealNumber n) Returns the sum of thisRealNumberand the givenRealNumberdefault RealNumberRealNumber.pow(RealNumber exponent) Returns the product of exponentiating thisRealNumberby the givenRealNumberstatic voidFloatingPointMath.setRealMaxError(RealNumber maxError) default RealNumberRealNumber.times(RealNumber n) Returns the product of multiplying thisRealNumberby the givenRealNumber -
Uses of RealNumber in org.zfcj.math.numbers.concrete
Subinterfaces of RealNumber in org.zfcj.math.numbers.concreteModifier and TypeInterfaceDescriptioninterfaceAnIntegerthat is at least some otherIntegerinterfaceAnIntegerno less than 8interfaceAnIntegerno less than 18interfaceAnIntegerno less than 11interfaceAnIntegerno less than 15interfaceAnIntegerno less than 5interfaceAnIntegerno less than 4interfaceAnIntegerno less than 14interfaceAnIntegerno less than -1interfaceAnIntegerno less than 9interfaceAnIntegerno less than 19interfaceAnIntegerno less than 1interfaceAnIntegerno less than 7interfaceAnIntegerno less than 17interfaceAnIntegerno less than 6interfaceAnIntegerno less than 16interfaceAnIntegerno less than 10interfaceAnIntegerno less than 13interfaceAnIntegerno less than 3interfaceAnIntegerno less than 12interfaceAnIntegerno less than 20interfaceAnIntegerno less than 2interfaceAnIntegerno less than 0interfaceAnIntegerthat is at most some otherIntegerinterfaceAnIntegerno greater than 8interfaceAnIntegerno greater than 18interfaceAnIntegerno greater than 11interfaceAnIntegerno greater than 15interfaceAnIntegerno greater than 5interfaceAnIntegerno greater than 4interfaceAnIntegerno greater than 14interfaceAnIntegerno greater than -1interfaceAnIntegerno greater than 9interfaceAnIntegerno greater than 19interfaceAnIntegerno greater than 1interfaceAnIntegerno greater than 7interfaceAnIntegerno greater than 17interfaceAnIntegerno greater than 6interfaceAnIntegerno greater than 16interfaceAnIntegerno greater than 10interfaceAnIntegerno greater than 13interfaceAnIntegerno greater than 3interfaceAnIntegerno greater than 12interfaceAnIntegerno greater than 20interfaceAnIntegerno greater than 2interfaceAnIntegerno greater than 0interfaceThe numberFouror the numberEightinterfaceNMinus1<N extends ConcreteNumber>Represents anIntegerthat is 1 less than some other (integer)ConcreteNumberinterfaceNPlus1<N extends ConcreteNumber>Represents anIntegerthat is 1 more than some other (integer)ConcreteNumberClasses in org.zfcj.math.numbers.concrete that implement RealNumberModifier and TypeClassDescriptionclassAConcreteNumberis anIntegerwhose value is always the same specific integer and is identified by its type name.final classThe concrete number 8final classThe concrete number 18final classThe concrete number 11final classThe concrete number 15final classThe concrete number 5final classThe concrete number 4final classThe concrete number 14final classThe concrete number -1final classThe concrete number 9final classThe concrete number 19final classThe concrete number 1final classThe concrete number 7final classThe concrete number 17final classThe concrete number 6final classThe concrete number 16final classThe concrete number 10final classThe concrete number 13final classThe concrete number 3final classThe concrete number 12final classThe concrete number 20final classThe concrete number 2final classThe concrete number 0