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.CentralPivotingStrategy A mid point strategy based on the average of begin and end indices.Combinations 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.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.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 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.