Uses of Class
org.apache.commons.math3.util.Pair
Packages that use Pair
Package
Description
Gauss family of quadrature schemes.
Implementations of common discrete and continuous distributions.
This package provides algorithms that minimize the residuals
between observations and model values.
Neural networks.
Generally, optimizers are algorithms that will either
minimize
or
maximize
a scalar function, called the
objective
function
.All classes and sub-packages of this package are deprecated.
Convenience routines and common data structures used throughout the commons-math library.
-
Uses of Pair in org.apache.commons.math3.analysis.integration.gauss
Methods in org.apache.commons.math3.analysis.integration.gauss that return PairModifier and TypeMethodDescriptionBaseRuleFactory.computeRule
(int numberOfPoints) Computes the rule for the given order.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.LegendreRuleFactory.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.BaseRuleFactory.getRuleInternal
(int numberOfPoints) Gets a rule.Methods in org.apache.commons.math3.analysis.integration.gauss with parameters of type PairModifier and TypeMethodDescriptionprotected void
Stores a rule.Constructors in org.apache.commons.math3.analysis.integration.gauss with parameters of type PairModifierConstructorDescriptionGaussIntegrator
(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.math3.distribution
Methods in org.apache.commons.math3.distribution that return types with arguments of type PairModifier and TypeMethodDescriptionMixtureMultivariateRealDistribution.getComponents()
Gets the distributions that make up the mixture model.EnumeratedDistribution.getPmf()
Return the probability mass function as a list of invalid input: '<'value, probability> pairs.Constructor parameters in org.apache.commons.math3.distribution with type arguments of type PairModifierConstructorDescriptionEnumeratedDistribution
(List<Pair<T, Double>> pmf) Create an enumerated distribution using the given probability mass function enumeration.EnumeratedDistribution
(RandomGenerator rng, List<Pair<T, Double>> pmf) Create an enumerated distribution using the given random number generator and probability mass function enumeration.Creates a mixture model from a list of distributions and their associated weights.MixtureMultivariateNormalDistribution
(RandomGenerator rng, 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.MixtureMultivariateRealDistribution
(RandomGenerator rng, 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.math3.fitting.leastsquares
Methods in org.apache.commons.math3.fitting.leastsquares that return PairModifier and TypeMethodDescriptionMultivariateJacobianFunction.value
(RealVector point) Compute the function value and its Jacobian. -
Uses of Pair in org.apache.commons.math3.ml.neuralnet
Methods in org.apache.commons.math3.ml.neuralnet that return PairModifier and TypeMethodDescriptionMapUtils.findBestAndSecondBest
(double[] features, Iterable<Neuron> neurons, DistanceMeasure distance) Finds the two neurons that best match the given features. -
Uses of Pair in org.apache.commons.math3.optim
Classes in org.apache.commons.math3.optim with type parameters of type PairModifier and TypeClassDescriptionclass
SimplePointChecker<PAIR extends Pair<double[],
? extends Object>> Simple implementation of theConvergenceChecker
interface using only point coordinates.Subclasses of Pair in org.apache.commons.math3.optimModifier and TypeClassDescriptionclass
This class holds a point and the value of an objective function at that point.class
This class holds a point and the vectorial value of an objective function at that point. -
Uses of Pair in org.apache.commons.math3.optimization
Classes in org.apache.commons.math3.optimization with type parameters of type PairModifier and TypeClassDescriptionclass
SimplePointChecker<PAIR extends Pair<double[],
? extends Object>> Deprecated.As of 3.1 (to be removed in 4.0).Subclasses of Pair in org.apache.commons.math3.optimizationModifier and TypeClassDescriptionclass
Deprecated.As of 3.1 (to be removed in 4.0).class
Deprecated.As of 3.1 (to be removed in 4.0). -
Uses of Pair in org.apache.commons.math3.util
Methods in org.apache.commons.math3.util that return PairModifier and TypeMethodDescriptionstatic <K,
V> Pair <K, V> Pair.create
(K k, V v) Convenience factory method that calls theconstructor
.Constructors in org.apache.commons.math3.util with parameters of type Pair