Uses of Class
org.apache.commons.math.FunctionEvaluationException
- 
Packages that use FunctionEvaluationException Package Description org.apache.commons.math Common classes used throughout the commons-math library.org.apache.commons.math.analysis Parent package for common numerical analysis procedures, including root finding, function interpolation and integration.org.apache.commons.math.analysis.integration Numerical integration (quadrature) algorithms for univariate real functions.org.apache.commons.math.analysis.polynomials Univariate real polynomials implementations, seen as differentiable univariate real functions.org.apache.commons.math.analysis.solvers Root finding algorithms, for univariate real functions.org.apache.commons.math.linear Linear algebra support.org.apache.commons.math.optimization This package provides common interfaces for the optimization algorithms provided in sub-packages.org.apache.commons.math.optimization.direct This package provides optimization algorithms that don't require derivatives.org.apache.commons.math.optimization.fitting This package provides classes to perform curve fitting.org.apache.commons.math.optimization.general This package provides optimization algorithms that require derivatives.org.apache.commons.math.optimization.univariate Univariate real functions minimum finding algorithms.org.apache.commons.math.transform Implementations of transform methods, including Fast Fourier transforms. - 
- 
Uses of FunctionEvaluationException in org.apache.commons.math
Subclasses of FunctionEvaluationException in org.apache.commons.math Modifier and Type Class Description classArgumentOutsideDomainExceptionError thrown when a method is called with an out of bounds argument. - 
Uses of FunctionEvaluationException in org.apache.commons.math.analysis
Methods in org.apache.commons.math.analysis that throw FunctionEvaluationException Modifier and Type Method Description abstract doubleBinaryFunction. value(double x, double y)Deprecated.Compute the value for the function.doubleBivariateRealFunction. value(double x, double y)Compute the value for the function.abstract doubleComposableFunction. value(double x)Compute the value for the function.double[][]MultivariateMatrixFunction. value(double[] point)Compute the value for the function at the given point.doubleMultivariateRealFunction. value(double[] point)Compute the value for the function at the given point.double[]MultivariateVectorialFunction. value(double[] point)Compute the value for the function at the given point.doubleTrivariateRealFunction. value(double x, double y, double z)Compute the value for the function.double[][]UnivariateMatrixFunction. value(double x)Compute the value for the function.doubleUnivariateRealFunction. value(double x)Compute the value for the function.double[]UnivariateVectorialFunction. value(double x)Compute the value for the function. - 
Uses of FunctionEvaluationException in org.apache.commons.math.analysis.integration
Methods in org.apache.commons.math.analysis.integration that throw FunctionEvaluationException Modifier and Type Method Description doubleLegendreGaussIntegrator. integrate(double min, double max)Deprecated.doubleLegendreGaussIntegrator. integrate(UnivariateRealFunction f, double min, double max)Integrate the function in the given interval.doubleRombergIntegrator. integrate(double min, double max)Deprecated.doubleRombergIntegrator. integrate(UnivariateRealFunction f, double min, double max)Integrate the function in the given interval.doubleSimpsonIntegrator. integrate(double min, double max)Deprecated.doubleSimpsonIntegrator. integrate(UnivariateRealFunction f, double min, double max)Integrate the function in the given interval.doubleTrapezoidIntegrator. integrate(double min, double max)Deprecated.doubleTrapezoidIntegrator. integrate(UnivariateRealFunction f, double min, double max)Integrate the function in the given interval.doubleUnivariateRealIntegrator. integrate(double min, double max)Deprecated.replaced byUnivariateRealIntegrator.integrate(UnivariateRealFunction, double, double)since 2.0doubleUnivariateRealIntegrator. integrate(UnivariateRealFunction f, double min, double max)Integrate the function in the given interval. - 
Uses of FunctionEvaluationException in org.apache.commons.math.analysis.polynomials
Methods in org.apache.commons.math.analysis.polynomials that throw FunctionEvaluationException Modifier and Type Method Description static doublePolynomialFunctionNewtonForm. evaluate(double[] a, double[] c, double z)Evaluate the Newton polynomial using nested multiplication.doublePolynomialFunctionLagrangeForm. value(double z)Compute the value for the function.doublePolynomialFunctionNewtonForm. value(double z)Calculate the function value at the given point. - 
Uses of FunctionEvaluationException in org.apache.commons.math.analysis.solvers
Methods in org.apache.commons.math.analysis.solvers that throw FunctionEvaluationException Modifier and Type Method Description static double[]UnivariateRealSolverUtils. bracket(UnivariateRealFunction function, double initial, double lowerBound, double upperBound)This method attempts to find two values a and b satisfyinglowerBound <= a < initial < b <= upperBoundf(a) * f(b) < 0If f is continuous on[a,b],this means thataandbbracket 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 satisfyinglowerBound <= a < initial < b <= upperBoundf(a) * f(b) <= 0If f is continuous on[a,b],this means thataandbbracket a root of f.protected booleanUnivariateRealSolverImpl. isBracketing(double lower, double upper, UnivariateRealFunction function)Deprecated.Returns true iff the function takes opposite signs at the endpoints.doubleBisectionSolver. solve(double min, double max)Deprecated.doubleBisectionSolver. solve(double min, double max, double initial)Deprecated.doubleBisectionSolver. solve(int maxEval, UnivariateRealFunction f, double min, double max)Solve for a zero root in the given interval.doubleBisectionSolver. solve(int maxEval, UnivariateRealFunction f, double min, double max, double initial)Solve for a zero in the given interval, start at startValue.doubleBisectionSolver. solve(UnivariateRealFunction f, double min, double max)Deprecated.in 2.2 (to be removed in 3.0).doubleBisectionSolver. solve(UnivariateRealFunction f, double min, double max, double initial)Deprecated.in 2.2 (to be removed in 3.0).doubleBrentSolver. solve(double min, double max)Deprecated.doubleBrentSolver. solve(double min, double max, double initial)Deprecated.doubleBrentSolver. solve(int maxEval, UnivariateRealFunction f, double min, double max)Find a zero in the given interval.doubleBrentSolver. solve(int maxEval, UnivariateRealFunction f, double min, double max, double initial)Find a zero in the given interval with an initial guess.doubleBrentSolver. solve(UnivariateRealFunction f, double min, double max)Deprecated.in 2.2 (to be removed in 3.0).doubleBrentSolver. solve(UnivariateRealFunction f, double min, double max, double initial)Deprecated.in 2.2 (to be removed in 3.0).doubleLaguerreSolver. solve(double min, double max)Deprecated.doubleLaguerreSolver. solve(double min, double max, double initial)Deprecated.doubleLaguerreSolver. solve(int maxEval, UnivariateRealFunction f, double min, double max)Find a real root in the given interval.doubleLaguerreSolver. solve(int maxEval, UnivariateRealFunction f, double min, double max, double initial)Find a real root in the given interval with initial value.doubleLaguerreSolver. solve(UnivariateRealFunction f, double min, double max)Deprecated.in 2.2 (to be removed in 3.0).doubleLaguerreSolver. solve(UnivariateRealFunction f, double min, double max, double initial)Deprecated.in 2.2 (to be removed in 3.0).ComplexLaguerreSolver. solve(Complex[] coefficients, Complex initial)Deprecated.in 2.2.doubleMullerSolver. solve(double min, double max)Deprecated.doubleMullerSolver. solve(double min, double max, double initial)Deprecated.doubleMullerSolver. solve(int maxEval, UnivariateRealFunction f, double min, double max)Find a real root in the given interval.doubleMullerSolver. solve(int maxEval, UnivariateRealFunction f, double min, double max, double initial)Find a real root in the given interval with initial value.doubleMullerSolver. solve(UnivariateRealFunction f, double min, double max)Deprecated.in 2.2 (to be removed in 3.0).doubleMullerSolver. solve(UnivariateRealFunction f, double min, double max, double initial)Deprecated.in 2.2 (to be removed in 3.0).doubleNewtonSolver. solve(double min, double max)Deprecated.doubleNewtonSolver. solve(double min, double max, double startValue)Deprecated.doubleNewtonSolver. solve(int maxEval, UnivariateRealFunction f, double min, double max)Find a zero near the midpoint ofminandmax.doubleNewtonSolver. solve(int maxEval, UnivariateRealFunction f, double min, double max, double startValue)Find a zero near the valuestartValue.doubleNewtonSolver. solve(UnivariateRealFunction f, double min, double max)Deprecated.in 2.2 (to be removed in 3.0).doubleNewtonSolver. solve(UnivariateRealFunction f, double min, double max, double startValue)Deprecated.in 2.2 (to be removed in 3.0).doubleRiddersSolver. solve(double min, double max)Deprecated.doubleRiddersSolver. solve(double min, double max, double initial)Deprecated.doubleRiddersSolver. solve(int maxEval, UnivariateRealFunction f, double min, double max)Find a root in the given interval.doubleRiddersSolver. solve(int maxEval, UnivariateRealFunction f, double min, double max, double initial)Find a root in the given interval with initial value.doubleRiddersSolver. solve(UnivariateRealFunction f, double min, double max)Deprecated.in 2.2 (to be removed in 3.0).doubleRiddersSolver. solve(UnivariateRealFunction f, double min, double max, double initial)Deprecated.in 2.2 (to be removed in 3.0).doubleSecantSolver. solve(double min, double max)Deprecated.doubleSecantSolver. solve(double min, double max, double initial)Deprecated.doubleSecantSolver. solve(int maxEval, UnivariateRealFunction f, double min, double max)Find a zero in the given interval.doubleSecantSolver. solve(int maxEval, UnivariateRealFunction f, double min, double max, double initial)Find a zero in the given interval.doubleSecantSolver. solve(UnivariateRealFunction f, double min, double max)Deprecated.in 2.2 (to be removed in 3.0).doubleSecantSolver. solve(UnivariateRealFunction f, double min, double max, double initial)Deprecated.in 2.2 (to be removed in 3.0).doubleUnivariateRealSolver. solve(double min, double max)Deprecated.replaced byUnivariateRealSolver.solve(UnivariateRealFunction, double, double)since 2.0doubleUnivariateRealSolver. solve(double min, double max, double startValue)Deprecated.replaced byUnivariateRealSolver.solve(UnivariateRealFunction, double, double, double)since 2.0doubleUnivariateRealSolver. solve(UnivariateRealFunction f, double min, double max)Deprecated.in 2.2 (to be removed in 3.0).doubleUnivariateRealSolver. solve(UnivariateRealFunction f, double min, double max, double startValue)Deprecated.in 2.2 (to be removed in 3.0).doubleUnivariateRealSolverImpl. solve(int maxEval, UnivariateRealFunction function, double min, double max)Deprecated.Solve for a zero root in the given interval.doubleUnivariateRealSolverImpl. solve(int maxEval, UnivariateRealFunction function, double min, double max, double startValue)Deprecated.Solve for a zero in the given interval, start at startValue.static doubleUnivariateRealSolverUtils. solve(UnivariateRealFunction f, double x0, double x1)Convenience method to find a zero of a univariate real function.static doubleUnivariateRealSolverUtils. solve(UnivariateRealFunction f, double x0, double x1, double absoluteAccuracy)Convenience method to find a zero of a univariate real function.doubleMullerSolver. solve2(double min, double max)Deprecated.replaced byMullerSolver.solve2(UnivariateRealFunction, double, double)since 2.0doubleMullerSolver. solve2(UnivariateRealFunction f, double min, double max)Deprecated.in 2.2 (to be removed in 3.0).Complex[]LaguerreSolver. solveAll(double[] coefficients, double initial)Deprecated.in 2.2.Complex[]LaguerreSolver. solveAll(Complex[] coefficients, Complex initial)Deprecated.in 2.2.protected voidUnivariateRealSolverImpl. verifyBracketing(double lower, double upper, UnivariateRealFunction function)Deprecated.Verifies that the endpoints specify an interval and the function takes opposite signs at the endpoints, throws IllegalArgumentException if not - 
Uses of FunctionEvaluationException in org.apache.commons.math.linear
Methods in org.apache.commons.math.linear that throw FunctionEvaluationException Modifier and Type Method Description RealVectorAbstractRealVector. map(UnivariateRealFunction function)Acts as if implemented as:RealVectorRealVector. map(UnivariateRealFunction function)Acts as if implemented as:RealVectorAbstractRealVector. mapToSelf(UnivariateRealFunction function)Acts as if it is implemented as:RealVectorRealVector. mapToSelf(UnivariateRealFunction function)Acts as if it is implemented as: - 
Uses of FunctionEvaluationException in org.apache.commons.math.optimization
Methods in org.apache.commons.math.optimization that throw FunctionEvaluationException Modifier and Type Method Description doubleUnivariateRealOptimizer. getFunctionValue()Get the result of the last run of the optimizer.RealPointValuePairDifferentiableMultivariateRealOptimizer. optimize(DifferentiableMultivariateRealFunction f, GoalType goalType, double[] startPoint)Optimizes an objective function.VectorialPointValuePairDifferentiableMultivariateVectorialOptimizer. optimize(DifferentiableMultivariateVectorialFunction f, double[] target, double[] weights, double[] startPoint)Optimizes an objective function.RealPointValuePairMultiStartDifferentiableMultivariateRealOptimizer. optimize(DifferentiableMultivariateRealFunction f, GoalType goalType, double[] startPoint)Optimizes an objective function.RealPointValuePairMultiStartDifferentiableMultivariateRealOptimizer. optimize(DifferentiableMultivariateRealFunction f, GoalType goalType, double[] startPoint)Optimizes an objective function.VectorialPointValuePairMultiStartDifferentiableMultivariateVectorialOptimizer. optimize(DifferentiableMultivariateVectorialFunction f, double[] target, double[] weights, double[] startPoint)Optimizes an objective function.RealPointValuePairMultiStartMultivariateRealOptimizer. optimize(MultivariateRealFunction f, GoalType goalType, double[] startPoint)Optimizes an objective function.RealPointValuePairMultiStartMultivariateRealOptimizer. optimize(MultivariateRealFunction f, GoalType goalType, double[] startPoint)Optimizes an objective function.doubleMultiStartUnivariateRealOptimizer. optimize(UnivariateRealFunction f, GoalType goalType, double min, double max)Find an optimum in the given interval.doubleMultiStartUnivariateRealOptimizer. optimize(UnivariateRealFunction f, GoalType goalType, double min, double max, double startValue)Find an optimum in the given interval, start at startValue.RealPointValuePairMultivariateRealOptimizer. optimize(MultivariateRealFunction f, GoalType goalType, double[] startPoint)Optimizes an objective function.doubleUnivariateRealOptimizer. optimize(UnivariateRealFunction f, GoalType goalType, double min, double max)Find an optimum in the given interval.doubleUnivariateRealOptimizer. optimize(UnivariateRealFunction f, GoalType goalType, double min, double max, double startValue)Find an optimum in the given interval, start at startValue.doubleLeastSquaresConverter. value(double[] point)Compute the value for the function at the given point. - 
Uses of FunctionEvaluationException in org.apache.commons.math.optimization.direct
Methods in org.apache.commons.math.optimization.direct that throw FunctionEvaluationException Modifier and Type Method Description protected RealPointValuePairPowellOptimizer. doOptimize()Perform the bulk of optimization algorithm.protected doubleDirectSearchOptimizer. evaluate(double[] x)Evaluate the objective function on one point.protected voidDirectSearchOptimizer. evaluateSimplex(java.util.Comparator<RealPointValuePair> comparator)Evaluate all the non-evaluated points of the simplex.protected abstract voidDirectSearchOptimizer. iterateSimplex(java.util.Comparator<RealPointValuePair> comparator)Compute the next simplex of the algorithm.protected voidMultiDirectional. iterateSimplex(java.util.Comparator<RealPointValuePair> comparator)Compute the next simplex of the algorithm.protected voidNelderMead. iterateSimplex(java.util.Comparator<RealPointValuePair> comparator)Compute the next simplex of the algorithm.RealPointValuePairDirectSearchOptimizer. optimize(MultivariateRealFunction function, GoalType goalType, double[] startPoint)Optimizes an objective function. - 
Uses of FunctionEvaluationException in org.apache.commons.math.optimization.fitting
Methods in org.apache.commons.math.optimization.fitting that throw FunctionEvaluationException Modifier and Type Method Description double[]CurveFitter. fit(ParametricRealFunction f, double[] initialGuess)Fit a curve.GaussianFunctionGaussianFitter. fit()Fits Gaussian function to the observed points.double[]ParametricRealFunction. gradient(double x, double[] parameters)Compute the gradient of the function with respect to its parameters.doubleParametricRealFunction. value(double x, double[] parameters)Compute the value of the function. - 
Uses of FunctionEvaluationException in org.apache.commons.math.optimization.general
Methods in org.apache.commons.math.optimization.general that throw FunctionEvaluationException Modifier and Type Method Description protected double[]AbstractScalarDifferentiableOptimizer. computeObjectiveGradient(double[] evaluationPoint)Compute the gradient vector.protected doubleAbstractScalarDifferentiableOptimizer. computeObjectiveValue(double[] evaluationPoint)Compute the objective function value.protected abstract VectorialPointValuePairAbstractLeastSquaresOptimizer. doOptimize()Perform the bulk of optimization algorithm.protected abstract RealPointValuePairAbstractScalarDifferentiableOptimizer. doOptimize()Perform the bulk of optimization algorithm.VectorialPointValuePairGaussNewtonOptimizer. doOptimize()Perform the bulk of optimization algorithm.protected VectorialPointValuePairLevenbergMarquardtOptimizer. doOptimize()Perform the bulk of optimization algorithm.protected RealPointValuePairNonLinearConjugateGradientOptimizer. doOptimize()Perform the bulk of optimization algorithm.double[][]AbstractLeastSquaresOptimizer. getCovariances()Get the covariance matrix of optimized parameters.double[]AbstractLeastSquaresOptimizer. guessParametersErrors()Guess the errors in optimized parameters.VectorialPointValuePairAbstractLeastSquaresOptimizer. optimize(DifferentiableMultivariateVectorialFunction f, double[] target, double[] weights, double[] startPoint)Optimizes an objective function.RealPointValuePairAbstractScalarDifferentiableOptimizer. optimize(DifferentiableMultivariateRealFunction f, GoalType goalType, double[] startPoint)Optimizes an objective function.double[]Preconditioner. precondition(double[] point, double[] r)Precondition a search direction.protected voidAbstractLeastSquaresOptimizer. updateJacobian()Update the jacobian matrix.protected voidAbstractLeastSquaresOptimizer. updateResidualsAndCost()Update the residuals array and cost function value. - 
Uses of FunctionEvaluationException in org.apache.commons.math.optimization.univariate
Methods in org.apache.commons.math.optimization.univariate that throw FunctionEvaluationException Modifier and Type Method Description protected doubleAbstractUnivariateRealOptimizer. computeObjectiveValue(double point)Compute the objective function value.protected doubleAbstractUnivariateRealOptimizer. computeObjectiveValue(UnivariateRealFunction f, double point)Deprecated.in 2.2.protected doubleAbstractUnivariateRealOptimizer. doOptimize()Method for implementing actual optimization algorithms in derived classes.protected doubleBrentOptimizer. doOptimize()Method for implementing actual optimization algorithms in derived classes.doubleAbstractUnivariateRealOptimizer. getFunctionValue()Get the result of the last run of the optimizer.doubleAbstractUnivariateRealOptimizer. optimize(UnivariateRealFunction f, GoalType goal, double min, double max)Find an optimum in the given interval.doubleAbstractUnivariateRealOptimizer. optimize(UnivariateRealFunction f, GoalType goal, double min, double max, double startValue)Find an optimum in the given interval, start at startValue.voidBracketFinder. search(UnivariateRealFunction func, GoalType goal, double xA, double xB)Search new points that bracket a local optimum of the function. - 
Uses of FunctionEvaluationException in org.apache.commons.math.transform
Methods in org.apache.commons.math.transform that throw FunctionEvaluationException Modifier and Type Method Description double[]FastCosineTransformer. inversetransform(UnivariateRealFunction f, double min, double max, int n)Inversely transform the given real function, sampled on the given interval.Complex[]FastFourierTransformer. inversetransform(UnivariateRealFunction f, double min, double max, int n)Inversely transform the given real function, sampled on the given interval.double[]FastHadamardTransformer. inversetransform(UnivariateRealFunction f, double min, double max, int n)Inversely transform the given real function, sampled on the given interval.double[]FastSineTransformer. inversetransform(UnivariateRealFunction f, double min, double max, int n)Inversely transform the given real function, sampled on the given interval.double[]RealTransformer. inversetransform(UnivariateRealFunction f, double min, double max, int n)Inversely transform the given real function, sampled on the given interval.double[]FastCosineTransformer. inversetransform2(UnivariateRealFunction f, double min, double max, int n)Inversely transform the given real function, sampled on the given interval.Complex[]FastFourierTransformer. inversetransform2(UnivariateRealFunction f, double min, double max, int n)Inversely transform the given real function, sampled on the given interval.double[]FastSineTransformer. inversetransform2(UnivariateRealFunction f, double min, double max, int n)Inversely transform the given real function, sampled on the given interval.static double[]FastFourierTransformer. sample(UnivariateRealFunction f, double min, double max, int n)Sample the given univariate real function on the given interval.double[]FastCosineTransformer. transform(UnivariateRealFunction f, double min, double max, int n)Transform the given real function, sampled on the given interval.Complex[]FastFourierTransformer. transform(UnivariateRealFunction f, double min, double max, int n)Transform the given real function, sampled on the given interval.double[]FastHadamardTransformer. transform(UnivariateRealFunction f, double min, double max, int n)Transform the given real function, sampled on the given interval.double[]FastSineTransformer. transform(UnivariateRealFunction f, double min, double max, int n)Transform the given real function, sampled on the given interval.double[]RealTransformer. transform(UnivariateRealFunction f, double min, double max, int n)Transform the given real function, sampled on the given interval.double[]FastCosineTransformer. transform2(UnivariateRealFunction f, double min, double max, int n)Transform the given real function, sampled on the given interval.Complex[]FastFourierTransformer. transform2(UnivariateRealFunction f, double min, double max, int n)Transform the given real function, sampled on the given interval.double[]FastSineTransformer. transform2(UnivariateRealFunction f, double min, double max, int n)Transform the given real function, sampled on the given interval. 
 -