Package | Description |
---|---|
org.apache.commons.math |
Common classes used throughout the commons-math library.
|
org.apache.commons.math.analysis.integration |
Numerical integration (quadrature) algorithms for univariate real functions.
|
org.apache.commons.math.analysis.solvers |
Root finding algorithms, for univariate real functions.
|
org.apache.commons.math.fraction |
Fraction number type and fraction number formatting.
|
org.apache.commons.math.ode.events |
This package provides classes to handle discrete events occurring during
Ordinary Differential Equations integration.
|
org.apache.commons.math.optimization |
This package provides common interfaces for the optimization algorithms
provided in sub-packages.
|
org.apache.commons.math.optimization.linear |
This package provides optimization algorithms for linear constrained problems.
|
Modifier and Type | Class and Description |
---|---|
class |
MaxEvaluationsExceededException
Error thrown when a numerical computation exceeds its allowed
number of functions evaluations.
|
class |
MaxIterationsExceededException
Error thrown when a numerical computation exceeds its allowed
number of iterations.
|
Modifier and Type | Method and Description |
---|---|
double |
UnivariateRealIntegrator.integrate(double min,
double max)
Deprecated.
replaced by
UnivariateRealIntegrator.integrate(UnivariateRealFunction, double, double)
since 2.0 |
double |
LegendreGaussIntegrator.integrate(double min,
double max)
Deprecated.
|
double |
UnivariateRealIntegrator.integrate(UnivariateRealFunction f,
double min,
double max)
Integrate the function in the given interval.
|
double |
LegendreGaussIntegrator.integrate(UnivariateRealFunction f,
double min,
double max)
Integrate the function in the given interval.
|
Modifier and Type | Method and Description |
---|---|
static double[] |
UnivariateRealSolverUtils.bracket(UnivariateRealFunction function,
double initial,
double lowerBound,
double upperBound)
This method attempts to find two values a and b satisfying
lowerBound <= a < initial < b <= upperBound
f(a) * f(b) < 0
If f is continuous on [a,b], this means that a
and b bracket a root of f. |
static double[] |
UnivariateRealSolverUtils.bracket(UnivariateRealFunction function,
double initial,
double lowerBound,
double upperBound,
int maximumIterations)
This method attempts to find two values a and b satisfying
lowerBound <= a < initial < b <= upperBound
f(a) * f(b) <= 0
If f is continuous on [a,b], this means that a
and b bracket a root of f. |
double |
UnivariateRealSolver.solve(double min,
double max)
Deprecated.
replaced by
UnivariateRealSolver.solve(UnivariateRealFunction, double, double)
since 2.0 |
double |
MullerSolver.solve(double min,
double max)
Deprecated.
|
double |
SecantSolver.solve(double min,
double max)
Deprecated.
|
double |
LaguerreSolver.solve(double min,
double max)
Deprecated.
|
double |
RiddersSolver.solve(double min,
double max)
Deprecated.
|
double |
UnivariateRealSolver.solve(double min,
double max,
double startValue)
Deprecated.
replaced by
UnivariateRealSolver.solve(UnivariateRealFunction, double, double, double)
since 2.0 |
double |
MullerSolver.solve(double min,
double max,
double initial)
Deprecated.
|
double |
SecantSolver.solve(double min,
double max,
double initial)
Deprecated.
|
double |
LaguerreSolver.solve(double min,
double max,
double initial)
Deprecated.
|
double |
RiddersSolver.solve(double min,
double max,
double initial)
Deprecated.
|
double |
UnivariateRealSolverImpl.solve(int maxEval,
UnivariateRealFunction function,
double min,
double max)
Deprecated.
Solve for a zero root in the given interval.
|
double |
LaguerreSolver.solve(int maxEval,
UnivariateRealFunction f,
double min,
double max)
Find a real root in the given interval.
|
double |
UnivariateRealSolverImpl.solve(int maxEval,
UnivariateRealFunction function,
double min,
double max,
double startValue)
Deprecated.
Solve for a zero in the given interval, start at startValue.
|
double |
LaguerreSolver.solve(int maxEval,
UnivariateRealFunction f,
double min,
double max,
double initial)
Find a real root in the given interval with initial value.
|
static double |
UnivariateRealSolverUtils.solve(UnivariateRealFunction f,
double x0,
double x1)
Convenience method to find a zero of a univariate real function.
|
double |
UnivariateRealSolver.solve(UnivariateRealFunction f,
double min,
double max)
Deprecated.
in 2.2 (to be removed in 3.0).
|
double |
LaguerreSolver.solve(UnivariateRealFunction f,
double min,
double max)
Deprecated.
in 2.2 (to be removed in 3.0).
|
static double |
UnivariateRealSolverUtils.solve(UnivariateRealFunction f,
double x0,
double x1,
double absoluteAccuracy)
Convenience method to find a zero of a univariate real function.
|
double |
UnivariateRealSolver.solve(UnivariateRealFunction f,
double min,
double max,
double startValue)
Deprecated.
in 2.2 (to be removed in 3.0).
|
double |
LaguerreSolver.solve(UnivariateRealFunction f,
double min,
double max,
double initial)
Deprecated.
in 2.2 (to be removed in 3.0).
|
Complex[] |
LaguerreSolver.solveAll(double[] coefficients,
double initial)
Deprecated.
in 2.2.
|
Modifier and Type | Class and Description |
---|---|
class |
FractionConversionException
Error thrown when a double value cannot be converted to a fraction
in the allowed number of iterations.
|
Modifier and Type | Method and Description |
---|---|
boolean |
EventState.evaluateStep(StepInterpolator interpolator)
Evaluate the impact of the proposed step on the event handler.
|
Modifier and Type | Class and Description |
---|---|
class |
OptimizationException
Deprecated.
in 2.2 (to be removed in 3.0).
|
Modifier and Type | Method and Description |
---|---|
double |
UnivariateRealOptimizer.optimize(UnivariateRealFunction f,
GoalType goalType,
double min,
double max)
Find an optimum in the given interval.
|
double |
MultiStartUnivariateRealOptimizer.optimize(UnivariateRealFunction f,
GoalType goalType,
double min,
double max)
Find an optimum in the given interval.
|
double |
UnivariateRealOptimizer.optimize(UnivariateRealFunction f,
GoalType goalType,
double min,
double max,
double startValue)
Find an optimum in the given interval, start at startValue.
|
double |
MultiStartUnivariateRealOptimizer.optimize(UnivariateRealFunction f,
GoalType goalType,
double min,
double max,
double startValue)
Find an optimum in the given interval, start at startValue.
|
Modifier and Type | Class and Description |
---|---|
class |
NoFeasibleSolutionException
This class represents exceptions thrown by optimizers when no solution
fulfills the constraints.
|
class |
UnboundedSolutionException
This class represents exceptions thrown by optimizers when a solution
escapes to infinity.
|
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.