Package org.apache.commons.math3.util
Convenience routines and common data structures used throughout the commons-math library.
-
Interface Summary Interface Description DoubleArray Provides a standard interface for double arrays.Incrementor.MaxCountExceededCallback Defines a method to be called at counter exhaustion.IntegerSequence.Incrementor.MaxCountExceededCallback Defines a method to be called at counter exhaustion.IterationListener The listener interface for receiving events occurring in an iterative algorithm.MathArrays.Function Real-valued function that operate on an array or a part of it.NumberTransformer Subclasses implementing this interface can transform Objects to doubles.PivotingStrategyInterface A strategy to pick a pivoting index of an array for doing partitioning. -
Class Summary Class Description ArithmeticUtils Some useful, arithmetics related, additions to the built-in functions inMath
.BigReal Arbitrary precision decimal number.BigRealField Representation of real numbers with arbitrary precision field.BigRealField.LazyHolder Holder for the instance.CentralPivotingStrategy A mid point strategy based on the average of begin and end indices.Combinations Combinations.LexicographicComparator Defines the lexicographic ordering of combinations, using theCombinations.LexicographicComparator.lexNorm(int[])
method.Combinations.LexicographicIterator Lexicographic combinations iterator.Combinations.SingletonIterator Iterator with just one element to handle degenerate cases (full array, empty array) for combination iterator.CombinatoricsUtils Combinatorial utilities.CompositeFormat Base class for formatters of composite objects (complex numbers, vectors ...).ContinuedFraction Provides a generic means to evaluate continued fractions.Decimal64 This class wraps adouble
value in an object.Decimal64Field The field of double precision floating-point numbers.DefaultTransformer A Default NumberTransformer for java.lang.Numbers and Numeric Strings.FastMath Faster, more accurate, portable alternative toMath
andStrictMath
for large scale computation.FastMath.CodyWaite Enclose the Cody/Waite reduction (used in "sin", "cos" and "tan").FastMath.ExpFracTable Enclose large data table in nested static class so it's only loaded on first access.FastMath.ExpIntTable Enclose large data table in nested static class so it's only loaded on first access.FastMath.lnMant Enclose large data table in nested static class so it's only loaded on first access.FastMath.Split Class operator on double numbers split into one 26 bits number and one 27 bits number.FastMathCalc Class used to compute the classical functions tables.FastMathLiteralArrays Utility class for loading tabulated data used byFastMath
.Incrementor Deprecated. UseIntegerSequence.Incrementor
instead.IntegerSequence Provides a sequence of integers.IntegerSequence.Incrementor Utility that increments a counter until a maximum is reached, at which point, the instance will by default throw aMaxCountExceededException
.IntegerSequence.Range Generates a sequence of integers.IterationEvent The root class from which all events occurring while running anIterationManager
should be derived.IterationManager This abstract class provides a general framework for managing iterative algorithms.KthSelector A Simple Kth selector implementation to pick up the Kth ordered element from a work array containing the input numbers.MathArrays Arrays utilities.MathArrays.PairDoubleInteger A helper data structure holding a double and an integer value.MathUtils Miscellaneous utility functions.MedianOf3PivotingStrategy Classic median of 3 strategy given begin and end indices.MultidimensionalCounter Converter between unidimensional storage structure and multidimensional conceptual structure.OpenIntToDoubleHashMap Open addressed map from int to double.OpenIntToFieldHashMap<T extends FieldElement<T>> Open addressed map from int to FieldElement.Pair<K,V> Generic pair.Precision Utilities for comparing numbers.RandomPivotingStrategy A strategy of selecting random index between begin and end indices.ResizableDoubleArray A variable lengthDoubleArray
implementation that automatically handles expanding and contracting its internal storage array as elements are added and removed.TransformerMap This TansformerMap automates the transformation of mixed object types. -
Enum Summary Enum Description Combinations.IterationOrder Describes the type of iteration performed by theiterator
.MathArrays.OrderDirection Specification of ordering direction.MathArrays.Position Specification for indicating that some operation applies before or after a given index.ResizableDoubleArray.ExpansionMode Specification of expansion algorithm.