Uses of Class
org.episteme.core.mathematics.numbers.integers.Natural
Packages that use Natural
Package
Description
Temporal coordinate and interval support for historical analysis.
-
Uses of Natural in org.episteme.core.mathematics.algebra.intervals
Methods in org.episteme.core.mathematics.algebra.intervals that return types with arguments of type NaturalModifier and TypeMethodDescriptionstatic RingIntervalND<Natural> NaturalInterval.closed(long min, long max) Creates a closed interval [min, max] from long values.static RingIntervalND<Natural> Creates a closed interval [min, max] over Natural numbers.static RingIntervalND<Natural> NaturalInterval.closedOpen(long min, long max) Creates a half-open interval [min, max) from long values.static RingIntervalND<Natural> NaturalInterval.closedOpen(Natural min, Natural max) Creates a half-open interval [min, max) over Natural numbers.Returns an iterator over all Natural numbers in the interval.static RingIntervalND<Natural> NaturalInterval.open(long min, long max) Creates an open interval (min, max) from long values.static RingIntervalND<Natural> Creates an open interval (min, max) over Natural numbers.static RingIntervalND<Natural> NaturalInterval.singleton(long value) Creates an interval containing a single Natural number from a long.static RingIntervalND<Natural> Creates an interval containing a single Natural number.Returns a stream of all Natural numbers in the interval.Methods in org.episteme.core.mathematics.algebra.intervals with parameters of type NaturalModifier and TypeMethodDescriptionstatic RingIntervalND<Natural> Creates a closed interval [min, max] over Natural numbers.static RingIntervalND<Natural> NaturalInterval.closedOpen(Natural min, Natural max) Creates a half-open interval [min, max) over Natural numbers.static RingIntervalND<Natural> Creates an open interval (min, max) over Natural numbers.static RingIntervalND<Natural> Creates an interval containing a single Natural number.Method parameters in org.episteme.core.mathematics.algebra.intervals with type arguments of type NaturalModifier and TypeMethodDescriptionstatic booleanReturns whether the interval is empty.Returns an iterator over all Natural numbers in the interval.static longReturns the number of Natural numbers in the interval.Returns a stream of all Natural numbers in the interval. -
Uses of Natural in org.episteme.core.mathematics.analysis.series
Subinterfaces with type arguments of type Natural in org.episteme.core.mathematics.analysis.seriesModifier and TypeInterfaceDescriptioninterfaceSequence<T>A mathematical sequence a(n) for n ≥ 0.Methods in org.episteme.core.mathematics.analysis.series with parameters of type NaturalModifier and TypeMethodDescriptiondefault TFunction interface implementation - delegates to get(Natural).default TFunction interface implementation - delegates to get(Natural).Returns the n-th term of the sequence (0-indexed).default longConvenience method to get value as long using Natural index. -
Uses of Natural in org.episteme.core.mathematics.discrete.generators
Methods in org.episteme.core.mathematics.discrete.generators that return types with arguments of type Natural -
Uses of Natural in org.episteme.core.mathematics.numbers.integers
Classes in org.episteme.core.mathematics.numbers.integers that implement interfaces with type arguments of type NaturalModifier and TypeClassDescriptionclassAbstract base class for natural numbers (â„• = {0, 1, 2, ...}).classAbstract base class for natural numbers (â„• = {0, 1, 2, ...}).Fields in org.episteme.core.mathematics.numbers.integers declared as NaturalModifier and TypeFieldDescriptionstatic final NaturalNatural.ONEThe natural number 1static final NaturalNatural.ZEROThe natural number 0Methods in org.episteme.core.mathematics.numbers.integers that return NaturalModifier and TypeMethodDescriptionabstract NaturalAdds another natural number.abstract NaturalDivides by another natural number (integer division).abstract NaturalComputes this modulo another natural number.abstract NaturalMultiplies by another natural number.static NaturalNatural.of(int value) Creates a natural number from an int value.static NaturalNatural.of(long value) Creates a natural number from a long value.static NaturalNatural.of(BigInteger value) Creates a natural number from a BigInteger.abstract NaturalSubtracts another natural number.Methods in org.episteme.core.mathematics.numbers.integers with parameters of type NaturalModifier and TypeMethodDescriptionabstract NaturalAdds another natural number.abstract intabstract NaturalDivides by another natural number (integer division).abstract NaturalComputes this modulo another natural number.abstract NaturalMultiplies by another natural number.abstract NaturalSubtracts another natural number. -
Uses of Natural in org.episteme.core.mathematics.numbertheory
Methods in org.episteme.core.mathematics.numbertheory that return NaturalModifier and TypeMethodDescriptionstatic NaturalNumberTheory.eulerTotient(Natural n) Euler's totient function Æ(n): count of numbers ≤ n coprime to n.static NaturalEuclidean algorithm for GCD.static NaturalLeast common multiple.static NaturalNumberTheory.modInverse(Natural a, Natural m) Modular inverse: finds x such that (a * x) ≡ 1 (mod m).static NaturalModular exponentiation: (base^exp) mod m.Methods in org.episteme.core.mathematics.numbertheory with parameters of type NaturalModifier and TypeMethodDescriptionstatic NaturalNumberTheory.eulerTotient(Natural n) Euler's totient function Æ(n): count of numbers ≤ n coprime to n.static NaturalEuclidean algorithm for GCD.static booleanNumberTheory.isProbablePrime(Natural n, int certainty) Probabilistic primality test using Miller-Rabin.static NaturalLeast common multiple.static NaturalNumberTheory.modInverse(Natural a, Natural m) Modular inverse: finds x such that (a * x) ≡ 1 (mod m).static NaturalModular exponentiation: (base^exp) mod m. -
Uses of Natural in org.episteme.core.mathematics.random
Methods in org.episteme.core.mathematics.random that return NaturalModifier and TypeMethodDescriptionRandomGenerator.nextNatural(int bound) Returns random Natural in [0, bound). -
Uses of Natural in org.episteme.core.mathematics.sets
Classes in org.episteme.core.mathematics.sets that implement interfaces with type arguments of type NaturalModifier and TypeClassDescriptionfinal classThe structure of natural numbers (â„• = {0, 1, 2, 3, ...}).final classThe structure of natural numbers (â„• = {0, 1, 2, 3, ...}).Methods in org.episteme.core.mathematics.sets that return NaturalMethods in org.episteme.core.mathematics.sets that return types with arguments of type NaturalModifier and TypeMethodDescriptionNaturals.stream(int count) Returns a stream of the first n natural numbers.Methods in org.episteme.core.mathematics.sets with parameters of type Natural -
Uses of Natural in org.episteme.core.mathematics.topology
Methods in org.episteme.core.mathematics.topology that return types with arguments of type NaturalConstructors in org.episteme.core.mathematics.topology with parameters of type NaturalModifierConstructorDescriptionCreates a simplex from a list of Natural vertex IDs.Constructor parameters in org.episteme.core.mathematics.topology with type arguments of type Natural -
Uses of Natural in org.episteme.social.history.time
Methods in org.episteme.social.history.time that return Natural