|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--rootbisection.RootNewtonRaphson
Field Summary | |
private boolean |
found
|
Constructor Summary | |
RootNewtonRaphson()
|
Method Summary | |
double |
findRoot(UserFunction function,
double xLeft,
double xRight,
double tolerance,
double iterations)
El punto inicial de busqueda esta enmedio del intervalo de busqueda Se supone que la raiz en ese intervalo es unica, es posible que existan mas de una raiz. |
boolean |
wasFound()
Luego de buscar la raiz, consultar este metodo para confirmacion. |
Methods inherited from class java.lang.Object |
|
Field Detail |
private boolean found
Constructor Detail |
public RootNewtonRaphson()
Method Detail |
public boolean wasFound()
public double findRoot(UserFunction function, double xLeft, double xRight, double tolerance, double iterations)
function
- Objeto de la clase UserFunction.xLeft
- Inicio del intervalo de busqueda.xRight
- Fin del intervalo de busqueda.tolerance
- Toleranciaiterations
- Maximo numero de iteracioneswasFound()
,
UserFunction
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |