Package | Description |
---|---|
jdistlib.math.approx | |
jdistlib.math.opt |
Modifier and Type | Class and Description |
---|---|
class |
ApproximationFunction
Create an approximation function.
|
Modifier and Type | Method and Description |
---|---|
static double |
Optimization.optimize(UnivariateFunction f,
double ax,
double bx)
Brent's minimization function with default tolerance (1e-10)
|
static double |
Optimization.optimize(UnivariateFunction f,
double ax,
double bx,
double tol,
int maxiter)
Richard Brent's function minimization routine.
Wikipedia's link Adapted from Netlib's fmin. Also looked at Numerical Methods in C, 2nd ed. |
static double |
Optimization.zeroin(UnivariateFunction f,
double ax,
double bx,
double tol,
int maxiter)
************************************************************************
C math library
function ZEROIN - obtain a function zero within the given range
Output
Zeroin returns an estimate for the root with accuracy
4*EPSILON*abs(x) + tol
Algorithm
G.Forsythe, M.Malcolm, C.Moler, Computer methods for mathematical
computations.
|