public abstract class VectorRootFinder extends Object implements SingleRootFinder<DoubleArray,DoubleArray>
| Constructor and Description |
|---|
VectorRootFinder() |
| Modifier and Type | Method and Description |
|---|---|
protected DoubleArray |
checkInputsAndApplyFunction(Function<DoubleArray,DoubleArray> function,
DoubleArray x0) |
DoubleArray |
getRoot(Function<DoubleArray,DoubleArray> function,
DoubleArray... startingPoint)
Finds the root.
|
abstract DoubleArray |
getRoot(Function<DoubleArray,DoubleArray> function,
DoubleArray x0) |
public DoubleArray getRoot(Function<DoubleArray,DoubleArray> function, DoubleArray... startingPoint)
getRoot in interface SingleRootFinder<DoubleArray,DoubleArray>function - the function, not nullstartingPoint - the roots, not nullpublic abstract DoubleArray getRoot(Function<DoubleArray,DoubleArray> function, DoubleArray x0)
function - The (vector) function, not nullx0 - The starting point, not nullprotected DoubleArray checkInputsAndApplyFunction(Function<DoubleArray,DoubleArray> function, DoubleArray x0)
function - The function, not nullx0 - The starting point, not nullCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.