| Package | Description | 
|---|---|
| org.apache.commons.math3.analysis | 
      Parent package for common numerical analysis procedures, including root finding,
      function interpolation and integration. | 
| org.apache.commons.math3.analysis.differentiation | 
   This package holds the main interfaces and basic building block classes
   dealing with differentiation. | 
| org.apache.commons.math3.analysis.function | 
      The  functionpackage contains function objects that wrap the
      methods contained inMath, as well as common
      mathematical functions such as the gaussian and sinc functions. | 
| org.apache.commons.math3.analysis.integration | Numerical integration (quadrature) algorithms for univariate real functions. | 
| org.apache.commons.math3.analysis.integration.gauss | Gauss family of quadrature schemes. | 
| org.apache.commons.math3.analysis.interpolation | Univariate real functions interpolation algorithms. | 
| org.apache.commons.math3.analysis.polynomials | Univariate real polynomials implementations, seen as differentiable
     univariate real functions. | 
| org.apache.commons.math3.analysis.solvers | Root finding algorithms, for univariate real functions. | 
| org.apache.commons.math3.linear | Linear algebra support. | 
| org.apache.commons.math3.ml.neuralnet | Neural networks. | 
| org.apache.commons.math3.optim.univariate | One-dimensional optimization algorithms. | 
| org.apache.commons.math3.optimization.univariate | Univariate real functions minimum finding algorithms. | 
| org.apache.commons.math3.special | Implementations of special functions such as Beta and Gamma. | 
| org.apache.commons.math3.transform | Implementations of transform methods, including Fast Fourier transforms. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | DifferentiableUnivariateFunctionDeprecated. 
 as of 3.1 replaced by  UnivariateDifferentiableFunction | 
| Modifier and Type | Method and Description | 
|---|---|
| static UnivariateFunction | FunctionUtils. add(UnivariateFunction... f)Adds functions. | 
| static UnivariateFunction | FunctionUtils. combine(BivariateFunction combiner,
       UnivariateFunction f,
       UnivariateFunction g)Returns the univariate function
  h(x) = combiner(f(x), g(x)). | 
| static UnivariateFunction | FunctionUtils. compose(UnivariateFunction... f)Composes functions. | 
| UnivariateFunction | DifferentiableUnivariateFunction. derivative()Deprecated.  Returns the derivative of the function | 
| static UnivariateFunction | FunctionUtils. fix1stArgument(BivariateFunction f,
              double fixed)Creates a unary function by fixing the first argument of a binary function. | 
| static UnivariateFunction | FunctionUtils. fix2ndArgument(BivariateFunction f,
              double fixed)Creates a unary function by fixing the second argument of a binary function. | 
| static UnivariateFunction | FunctionUtils. multiply(UnivariateFunction... f)Multiplies functions. | 
| Modifier and Type | Method and Description | 
|---|---|
| static UnivariateFunction | FunctionUtils. add(UnivariateFunction... f)Adds functions. | 
| static MultivariateFunction | FunctionUtils. collector(BivariateFunction combiner,
         UnivariateFunction f,
         double initialValue)Returns a MultivariateFunction h(x[]) defined by | 
| static UnivariateFunction | FunctionUtils. combine(BivariateFunction combiner,
       UnivariateFunction f,
       UnivariateFunction g)Returns the univariate function
  h(x) = combiner(f(x), g(x)). | 
| static UnivariateFunction | FunctionUtils. compose(UnivariateFunction... f)Composes functions. | 
| static UnivariateFunction | FunctionUtils. multiply(UnivariateFunction... f)Multiplies functions. | 
| static double[] | FunctionUtils. sample(UnivariateFunction f,
      double min,
      double max,
      int n)Samples the specified univariate real function on the specified interval. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | UnivariateDifferentiableFunctionInterface for univariate functions derivatives. | 
| Modifier and Type | Method and Description | 
|---|---|
| UnivariateDifferentiableFunction | FiniteDifferencesDifferentiator. differentiate(UnivariateFunction function)Create an implementation of a  differentialfrom a regularfunction. | 
| UnivariateDifferentiableFunction | UnivariateFunctionDifferentiator. differentiate(UnivariateFunction function)Create an implementation of a  differentialfrom a regularfunction. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbsAbsolute value function. | 
| class  | AcosArc-cosine function. | 
| class  | AcoshHyperbolic arc-cosine function. | 
| class  | AsinArc-sine function. | 
| class  | AsinhHyperbolic arc-sine function. | 
| class  | AtanArc-tangent function. | 
| class  | AtanhHyperbolic arc-tangent function. | 
| class  | CbrtCube root function. | 
| class  | Ceilceilfunction. | 
| class  | ConstantConstant function. | 
| class  | CosCosine function. | 
| class  | CoshHyperbolic cosine function. | 
| class  | ExpExponential function. | 
| class  | Expm1ex-1function. | 
| class  | Floorfloorfunction. | 
| class  | Gaussian
  Gaussian function. | 
| class  | HarmonicOscillator
  simple harmonic oscillator function. | 
| class  | IdentityIdentity function. | 
| class  | InverseInverse function. | 
| class  | LogNatural logarithm function. | 
| class  | Log10Base 10 logarithm function. | 
| class  | Log1plog(1 + p)function. | 
| class  | Logistic
  Generalised logistic function. | 
| class  | Logit
  Logit function. | 
| class  | MinusMinus function. | 
| class  | PowerPower function. | 
| class  | Rintrintfunction. | 
| class  | Sigmoid
  Sigmoid function. | 
| class  | Signumsignumfunction. | 
| class  | SinSine function. | 
| class  | SincSinc function,
 defined by | 
| class  | SinhHyperbolic sine function. | 
| class  | SqrtSquare-root function. | 
| class  | StepFunction | 
| class  | TanTangent function. | 
| class  | TanhHyperbolic tangent function. | 
| class  | Ulpulpfunction. | 
| Modifier and Type | Method and Description | 
|---|---|
| double | UnivariateIntegrator. integrate(int maxEval,
         UnivariateFunction f,
         double min,
         double max)Integrate the function in the given interval. | 
| double | BaseAbstractUnivariateIntegrator. integrate(int maxEval,
         UnivariateFunction f,
         double lower,
         double upper)Integrate the function in the given interval. | 
| protected void | BaseAbstractUnivariateIntegrator. setup(int maxEval,
     UnivariateFunction f,
     double lower,
     double upper)Prepare for computation. | 
| Modifier and Type | Method and Description | 
|---|---|
| double | SymmetricGaussIntegrator. integrate(UnivariateFunction f)Returns an estimate of the integral of  f(x) * w(x),
 wherewis a weight function that depends on the actual
 flavor of the Gauss integration scheme. | 
| double | GaussIntegrator. integrate(UnivariateFunction f)Returns an estimate of the integral of  f(x) * w(x),
 wherewis a weight function that depends on the actual
 flavor of the Gauss integration scheme. | 
| Modifier and Type | Method and Description | 
|---|---|
| UnivariateFunction | UnivariatePeriodicInterpolator. interpolate(double[] xval,
           double[] yval)Compute an interpolating function for the dataset. | 
| UnivariateFunction | UnivariateInterpolator. interpolate(double[] xval,
           double[] yval)Compute an interpolating function for the dataset. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | PolynomialFunctionImmutable representation of a real polynomial function with real coefficients. | 
| class  | PolynomialFunctionLagrangeFormImplements the representation of a real polynomial function in
 
 Lagrange Form. | 
| class  | PolynomialFunctionNewtonFormImplements the representation of a real polynomial function in
 Newton Form. | 
| class  | PolynomialSplineFunctionRepresents a polynomial spline function. | 
| Modifier and Type | Method and Description | 
|---|---|
| UnivariateFunction | PolynomialSplineFunction. derivative()Get the derivative of the polynomial spline function. | 
| UnivariateFunction | PolynomialFunction. derivative()Returns the derivative as a  UnivariateFunction. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | BaseAbstractUnivariateSolver<FUNC extends UnivariateFunction>Provide a default implementation for several functions useful to generic
 solvers. | 
| interface  | BaseUnivariateSolver<FUNC extends UnivariateFunction>Interface for (univariate real) rootfinding algorithms. | 
| interface  | BracketedUnivariateSolver<FUNC extends UnivariateFunction>Interface for  (univariate real) root-finding
 algorithmsthat maintain a bracketed solution. | 
| Modifier and Type | Method and Description | 
|---|---|
| static double[] | UnivariateSolverUtils. bracket(UnivariateFunction function,
       double initial,
       double lowerBound,
       double upperBound)This method simply calls  bracket(function, initial, lowerBound, upperBound, q, r, maximumIterations)withqandrset to 1.0 andmaximumIterationsset toInteger.MAX_VALUE. | 
| static double[] | UnivariateSolverUtils. bracket(UnivariateFunction function,
       double initial,
       double lowerBound,
       double upperBound,
       double q,
       double r,
       int maximumIterations)This method attempts to find two values a and b satisfying 
   lowerBound <= a < initial < b <= upperBoundf(a) * f(b) <= 0Iffis continuous on[a,b], this means thataandbbracket a root off. | 
| static double[] | UnivariateSolverUtils. bracket(UnivariateFunction function,
       double initial,
       double lowerBound,
       double upperBound,
       int maximumIterations)This method simply calls  bracket(function, initial, lowerBound, upperBound, q, r, maximumIterations)withqandrset to 1.0. | 
| static double | UnivariateSolverUtils. forceSide(int maxEval,
         UnivariateFunction f,
         BracketedUnivariateSolver<UnivariateFunction> bracketing,
         double baseRoot,
         double min,
         double max,
         AllowedSolution allowedSolution)Force a root found by a non-bracketing solver to lie on a specified side,
 as if the solver were a bracketing one. | 
| static boolean | UnivariateSolverUtils. isBracketing(UnivariateFunction function,
            double lower,
            double upper)Check whether the interval bounds bracket a root. | 
| double | BracketingNthOrderBrentSolver. solve(int maxEval,
     UnivariateFunction f,
     double min,
     double max,
     AllowedSolution allowedSolution)Solve for a zero in the given interval. | 
| double | BaseSecantSolver. solve(int maxEval,
     UnivariateFunction f,
     double min,
     double max,
     AllowedSolution allowedSolution)Solve for a zero in the given interval. | 
| double | BaseSecantSolver. solve(int maxEval,
     UnivariateFunction f,
     double min,
     double max,
     double startValue)Solve for a zero in the given interval, start at  startValue. | 
| double | BracketingNthOrderBrentSolver. solve(int maxEval,
     UnivariateFunction f,
     double min,
     double max,
     double startValue,
     AllowedSolution allowedSolution)Solve for a zero in the given interval, start at  startValue. | 
| double | BaseSecantSolver. solve(int maxEval,
     UnivariateFunction f,
     double min,
     double max,
     double startValue,
     AllowedSolution allowedSolution)Solve for a zero in the given interval, start at  startValue. | 
| static double | UnivariateSolverUtils. solve(UnivariateFunction function,
     double x0,
     double x1)Convenience method to find a zero of a univariate real function. | 
| static double | UnivariateSolverUtils. solve(UnivariateFunction function,
     double x0,
     double x1,
     double absoluteAccuracy)Convenience method to find a zero of a univariate real function. | 
| static void | UnivariateSolverUtils. verifyBracketing(UnivariateFunction function,
                double lower,
                double upper)Check that the endpoints specify an interval and the end points
 bracket a root. | 
| Modifier and Type | Method and Description | 
|---|---|
| static double | UnivariateSolverUtils. forceSide(int maxEval,
         UnivariateFunction f,
         BracketedUnivariateSolver<UnivariateFunction> bracketing,
         double baseRoot,
         double min,
         double max,
         AllowedSolution allowedSolution)Force a root found by a non-bracketing solver to lie on a specified side,
 as if the solver were a bracketing one. | 
| Modifier and Type | Method and Description | 
|---|---|
| RealVector | RealVector. map(UnivariateFunction function)Acts as if implemented as: | 
| ArrayRealVector | ArrayRealVector. map(UnivariateFunction function)Acts as if implemented as: | 
| RealVector | RealVector. mapToSelf(UnivariateFunction function)Acts as if it is implemented as: | 
| ArrayRealVector | ArrayRealVector. mapToSelf(UnivariateFunction function)Acts as if it is implemented as: | 
| Modifier and Type | Method and Description | 
|---|---|
| static FeatureInitializer | FeatureInitializerFactory. function(UnivariateFunction f,
        double init,
        double inc)Creates an initializer from a univariate function  f(x). | 
| Modifier and Type | Method and Description | 
|---|---|
| UnivariateFunction | UnivariateObjectiveFunction. getObjectiveFunction()Gets the function to be optimized. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | BracketFinder. search(UnivariateFunction func,
      GoalType goal,
      double xA,
      double xB)Search new points that bracket a local optimum of the function. | 
| Constructor and Description | 
|---|
| UnivariateObjectiveFunction(UnivariateFunction f) | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | BaseUnivariateOptimizer<FUNC extends UnivariateFunction>Deprecated. 
 As of 3.1 (to be removed in 4.0). | 
| class  | UnivariateMultiStartOptimizer<FUNC extends UnivariateFunction>Deprecated. 
 As of 3.1 (to be removed in 4.0). | 
| Modifier and Type | Method and Description | 
|---|---|
| UnivariatePointValuePair | BaseAbstractUnivariateOptimizer. optimize(int maxEval,
        UnivariateFunction f,
        GoalType goalType,
        double min,
        double max)Deprecated.  Find an optimum in the given interval. | 
| UnivariatePointValuePair | BaseAbstractUnivariateOptimizer. optimize(int maxEval,
        UnivariateFunction f,
        GoalType goalType,
        double min,
        double max,
        double startValue)Deprecated.  Find an optimum in the given interval, start at startValue. | 
| void | BracketFinder. search(UnivariateFunction func,
      GoalType goal,
      double xA,
      double xB)Deprecated.  Search new points that bracket a local optimum of the function. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | BesselJThis class provides computation methods related to Bessel
 functions of the first kind. | 
| Modifier and Type | Method and Description | 
|---|---|
| Complex[] | FastFourierTransformer. transform(UnivariateFunction f,
         double min,
         double max,
         int n,
         TransformType type)Returns the (forward, inverse) transform of the specified real function,
 sampled on the specified interval. | 
| double[] | FastHadamardTransformer. transform(UnivariateFunction f,
         double min,
         double max,
         int n,
         TransformType type)Returns the (forward, inverse) transform of the specified real function,
 sampled on the specified interval. | 
| double[] | FastSineTransformer. transform(UnivariateFunction f,
         double min,
         double max,
         int n,
         TransformType type)Returns the (forward, inverse) transform of the specified real function,
 sampled on the specified interval. | 
| double[] | RealTransformer. transform(UnivariateFunction f,
         double min,
         double max,
         int n,
         TransformType type)Returns the (forward, inverse) transform of the specified real function,
 sampled on the specified interval. | 
| double[] | FastCosineTransformer. transform(UnivariateFunction f,
         double min,
         double max,
         int n,
         TransformType type)Returns the (forward, inverse) transform of the specified real function,
 sampled on the specified interval. | 
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.