# Package org.apache.commons.math3.util

package org.apache.commons.math3.util
Convenience routines and common data structures used throughout the commons-math library.

Related Packages
Package
Description
org.apache.commons.math3
Common classes used throughout the commons-math library.
Class
Description
ArithmeticUtils
Some useful, arithmetics related, additions to the built-in functions in `Math`.
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
Utility to create combinations `(n, k)` of `k` elements in a set of `n` elements.
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 a `double` value in an object.
Decimal64Field
The field of double precision floating-point numbers.
DefaultTransformer
A Default NumberTransformer for java.lang.Numbers and Numeric Strings.
DoubleArray
Provides a standard interface for double arrays.
FastMath
Faster, more accurate, portable alternative to `Math` and `StrictMath` for large scale computation.
Incrementor
Deprecated.
Use `IntegerSequence.Incrementor` instead.
Incrementor.MaxCountExceededCallback
Defines a method to be called at counter exhaustion.
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 a `MaxCountExceededException`.
IntegerSequence.Incrementor.MaxCountExceededCallback
Defines a method to be called at counter exhaustion.
IntegerSequence.Range
Generates a sequence of integers.
IterationEvent
The root class from which all events occurring while running an `IterationManager` should be derived.
IterationListener
The listener interface for receiving events occurring in an iterative algorithm.
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.Function
Real-valued function that operate on an array or a part of it.
MathArrays.OrderDirection
Specification of ordering direction.
MathArrays.Position
Specification for indicating that some operation applies before or after a given index.
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.
NumberTransformer
Subclasses implementing this interface can transform Objects to doubles.
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.
PivotingStrategyInterface
A strategy to pick a pivoting index of an array for doing partitioning.
Precision
Utilities for comparing numbers.
RandomPivotingStrategy
A strategy of selecting random index between begin and end indices.
ResizableDoubleArray
A variable length `DoubleArray` implementation that automatically handles expanding and contracting its internal storage array as elements are added and removed.
ResizableDoubleArray.ExpansionMode
Specification of expansion algorithm.
TransformerMap
This TansformerMap automates the transformation of mixed object types.