public class NewtonRootFinder extends RootFinder
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_FIX_ITERATIONS
The maximum number of fixing iterations.
|
static double |
PRECISION
The precision of the approximation.
|
| Constructor and Description |
|---|
NewtonRootFinder(List<Term> functions,
Map<Variable,Term> startingPoint)
Creates a new Newton root finder for the given starting point and the given
(multi-dimensional) function
|
NewtonRootFinder(Term function,
Map<Variable,Term> startingPoint)
Creates a new Newton root finder for the given starting point and the given function
|
| Modifier and Type | Method and Description |
|---|---|
Map<Variable,Term> |
randomRoot()
Determines the values for the variables appearing in the function such
the function evaluates to zero.
|
getFunctions, getStartingPoint, setStartingPointpublic static final double PRECISION
public static final int MAX_FIX_ITERATIONS
public NewtonRootFinder(Term function, Map<Variable,Term> startingPoint)
startingPoint - public Map<Variable,Term> randomRoot() throws GeneralMathException
RootFinderrandomRoot in class RootFinderGeneralMathException - if something went wrong.Copyright © 2018. All rights reserved.