Uses of Class
org.hipparchus.util.Pair
Packages that use Pair
Package
Description
Gauss family of quadrature schemes.
Interfaces and implementations of common discrete and
continuous distributions.
Implementations of common continuous distributions.
Implementations of common discrete distributions.
Implementations of multivariate distributions.
Fraction number type and fraction number formatting.
Generally, optimizers are algorithms that will either
minimize
or
maximize
a scalar function, called the
objective
function
.This package provides algorithms that minimize the residuals
between observations and model values.
Convenience routines and common data structures used throughout the Hipparchus library.
-
Uses of Pair in org.hipparchus.analysis.integration.gauss
Methods in org.hipparchus.analysis.integration.gauss that return PairModifier and TypeMethodDescriptionprotected abstract Pair
<double[], double[]> AbstractRuleFactory.computeRule
(int numberOfPoints) Computes the rule for the given order.protected Pair
<double[], double[]> ConvertingRuleFactory.computeRule
(int numberOfPoints) Computes the rule for the given order.FieldAbstractRuleFactory.computeRule
(int numberOfPoints) Computes the rule for the given order.FieldHermiteRuleFactory.computeRule
(int numberOfPoints) Computes the rule for the given order.FieldLaguerreRuleFactory.computeRule
(int numberOfPoints) Computes the rule for the given order.FieldLegendreRuleFactory.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
<double[], double[]> LaguerreRuleFactory.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.Pair
<double[], double[]> AbstractRuleFactory.getRule
(int numberOfPoints) Gets a copy of the quadrature rule with the given number of integration points.FieldAbstractRuleFactory.getRule
(int numberOfPoints) Gets a copy of the quadrature rule with the given number of integration points.FieldRuleFactory.getRule
(int numberOfPoints) Gets a copy of the quadrature rule with the given number of integration points.Pair
<double[], double[]> RuleFactory.getRule
(int numberOfPoints) Gets a copy of the quadrature rule with the given number of integration points.Constructors in org.hipparchus.analysis.integration.gauss with parameters of type PairModifierConstructorDescriptionFieldGaussIntegrator
(Pair<T[], T[]> pointsAndWeights) Creates an integrator from the given pair of points (first element of the pair) and weights (second element of the pair.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.SymmetricFieldGaussIntegrator
(Pair<T[], T[]> 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.hipparchus.distribution
Methods in org.hipparchus.distribution that return types with arguments of type PairModifier and TypeMethodDescriptionEnumeratedDistribution.getPmf()
Return the probability mass function as a list of (value, probability) pairs.Constructor parameters in org.hipparchus.distribution with type arguments of type PairModifierConstructorDescriptionEnumeratedDistribution
(List<Pair<T, Double>> pmf) Create an enumerated distribution using the given probability mass function enumeration. -
Uses of Pair in org.hipparchus.distribution.continuous
Methods in org.hipparchus.distribution.continuous that return types with arguments of type Pair -
Uses of Pair in org.hipparchus.distribution.discrete
Methods in org.hipparchus.distribution.discrete that return types with arguments of type Pair -
Uses of Pair in org.hipparchus.distribution.multivariate
Methods in org.hipparchus.distribution.multivariate that return types with arguments of type PairModifier and TypeMethodDescriptionMixtureMultivariateRealDistribution.getComponents()
Gets the distributions that make up the mixture model.Constructor parameters in org.hipparchus.distribution.multivariate with type arguments of type PairModifierConstructorDescriptionCreates 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.hipparchus.fraction
Methods in org.hipparchus.fraction that return PairModifier and TypeMethodDescriptionstatic Pair
<BigFraction, Boolean> BigFraction.convergent
(double value, int maxConvergents, BigFraction.ConvergenceTest convergenceTest) Returns the last element of the series of convergent-steps to approximate the given value.Fraction.convergent
(double value, int maxConvergents, Fraction.ConvergenceTest convergenceTest) Returns the last element of the series of convergent-steps to approximate the given value. -
Uses of Pair in org.hipparchus.optim
Classes in org.hipparchus.optim with type parameters of type PairModifier and TypeClassDescriptionclass
SimplePointChecker<P extends Pair<double[],
? extends Object>> Simple implementation of theConvergenceChecker
interface using only point coordinates.Subclasses of Pair in org.hipparchus.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.hipparchus.optim.nonlinear.vector.leastsquares
Methods in org.hipparchus.optim.nonlinear.vector.leastsquares that return PairModifier and TypeMethodDescriptionMultivariateJacobianFunction.value
(RealVector point) Compute the function value and its Jacobian. -
Uses of Pair in org.hipparchus.util
Methods in org.hipparchus.util that return PairModifier and TypeMethodDescriptionstatic <K,
V> Pair <K, V> Pair.create
(K k, V v) Convenience factory method that calls theconstructor
.default Pair
<RealVector, RealMatrix> UnscentedTransformProvider.inverseUnscentedTransform
(RealVector[] sigmaPoints) Perform the inverse unscented transform from an array of sigma points.Constructors in org.hipparchus.util with parameters of type Pair