Uses of Classorg.apache.commons.math4.util.Pair

• Packages that use Pair
Package Description
org.apache.commons.math4.analysis.integration.gauss
org.apache.commons.math4.distribution
Implementations of common discrete and continuous distributions.
org.apache.commons.math4.fitting.leastsquares
This package provides algorithms that minimize the residuals between observations and model values.
org.apache.commons.math4.optim
Generally, optimizers are algorithms that will either minimize or maximize a scalar function, called the objective function.
org.apache.commons.math4.util
Convenience routines and common data structures used throughout the commons-math library.
• Uses of Pair in org.apache.commons.math4.analysis.integration.gauss

Methods in org.apache.commons.math4.analysis.integration.gauss that return Pair
Modifier and Type Method and Description
protected Pair<Double[],Double[]> LaguerreRuleFactory.computeRule(int numberOfPoints)
Computes the rule for the given order.
protected abstract Pair<T[],T[]> BaseRuleFactory.computeRule(int numberOfPoints)
Computes the rule for the given order.
protected Pair<Double[],Double[]> LegendreRuleFactory.computeRule(int numberOfPoints)
Computes the rule for the given order.
protected Pair<Double[],Double[]> HermiteRuleFactory.computeRule(int numberOfPoints)
Computes the rule for the given order.
protected Pair<BigDecimal[],BigDecimal[]> LegendreHighPrecisionRuleFactory.computeRule(int numberOfPoints)
Computes the rule for the given order.
Pair<double[],double[]> BaseRuleFactory.getRule(int numberOfPoints)
Gets a copy of the quadrature rule with the given number of integration points.
protected Pair<T[],T[]> BaseRuleFactory.getRuleInternal(int numberOfPoints)
Gets a rule.
Methods in org.apache.commons.math4.analysis.integration.gauss with parameters of type Pair
Modifier and Type Method and Description
protected void BaseRuleFactory.addRule(Pair<T[],T[]> rule)
Stores a rule.
Constructors in org.apache.commons.math4.analysis.integration.gauss with parameters of type Pair
Constructor and Description
GaussIntegrator(Pair<double[],double[]> pointsAndWeights)
Creates an integrator from the given pair of points (first element of the pair) and weights (second element of the pair.
SymmetricGaussIntegrator(Pair<double[],double[]> pointsAndWeights)
Creates an integrator from the given pair of points (first element of the pair) and weights (second element of the pair.
• Uses of Pair in org.apache.commons.math4.distribution

Methods in org.apache.commons.math4.distribution that return types with arguments of type Pair
Modifier and Type Method and Description
List<Pair<Double,T>> MixtureMultivariateRealDistribution.getComponents()
Gets the distributions that make up the mixture model.
List<Pair<T,Double>> EnumeratedDistribution.getPmf()
Return the probability mass function as a list of <value, probability> pairs.
Constructor parameters in org.apache.commons.math4.distribution with type arguments of type Pair
Constructor and Description
EnumeratedDistribution(List<Pair<T,Double>> pmf)
Create an enumerated distribution using the given random number generator and probability mass function enumeration.
MixtureMultivariateNormalDistribution(List<Pair<Double,MultivariateNormalDistribution>> components)
Creates a mixture model from a list of distributions and their associated weights.
MixtureMultivariateRealDistribution(List<Pair<Double,T>> components)
Creates a mixture model from a list of distributions and their associated weights.
• Uses of Pair in org.apache.commons.math4.fitting.leastsquares

Methods in org.apache.commons.math4.fitting.leastsquares that return Pair
Modifier and Type Method and Description
Pair<RealVector,RealMatrix> DifferentiatorVectorMultivariateJacobianFunction.value(RealVector point)
Compute the function value and its Jacobian.
Pair<RealVector,RealMatrix> MultivariateJacobianFunction.value(RealVector point)
Compute the function value and its Jacobian.
• Uses of Pair in org.apache.commons.math4.optim

Classes in org.apache.commons.math4.optim with type parameters of type Pair
Modifier and Type Class and Description
class  SimplePointChecker<PAIR extends Pair<double[],? extends Object>>
Simple implementation of the ConvergenceChecker interface using only point coordinates.
Subclasses of Pair in org.apache.commons.math4.optim
Modifier and Type Class and Description
class  PointValuePair
This class holds a point and the value of an objective function at that point.
class  PointVectorValuePair
This class holds a point and the vectorial value of an objective function at that point.
• Uses of Pair in org.apache.commons.math4.util

Methods in org.apache.commons.math4.util that return Pair
Modifier and Type Method and Description
static <K,V> Pair<K,V> Pair.create(K k, V v)
Convenience factory method that calls the constructor.
Constructors in org.apache.commons.math4.util with parameters of type Pair
Constructor and Description
Pair(Pair<? extends K,? extends V> entry)
Create an entry representing the same mapping as the specified entry.