public class GradientDescentRootFinder extends OptimizationRootFinder
| Modifier and Type | Field and Description |
|---|---|
double |
precision
The precision of the approximation.
|
PRECISION| Constructor and Description |
|---|
GradientDescentRootFinder(List<Term> functions,
Map<Variable,Term> startingPoint)
Creates a new root finder for the given starting point and the given
(multi-dimensional) function
|
GradientDescentRootFinder(Term function,
Map<Variable,Term> startingPoint)
Creates a new 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.
|
buildOptimizationProblemgetFunctions, getStartingPoint, setStartingPointpublic double precision
public GradientDescentRootFinder(Term function, Map<Variable,Term> startingPoint)
startingPoint - public Map<Variable,Term> randomRoot() throws GeneralMathException
RootFinderrandomRoot in class OptimizationRootFinderGeneralMathException - if something went wrong.Copyright © 2018. All rights reserved.