public interface MFWithGradient extends MultivariateFunction
Modifier and Type | Method and Description |
---|---|
void |
computeGradient(double[] argument,
double[] gradient)
compute gradient at a point
|
double |
evaluate(double[] argument,
double[] gradient)
compute both function value and gradient at a point
|
evaluate, getLowerBound, getNumArguments, getUpperBound
double evaluate(double[] argument, double[] gradient)
argument
- function argument (vector)gradient
- gradient (on return)void computeGradient(double[] argument, double[] gradient)
argument
- function argument (vector)gradient
- gradient (on return)Copyright © 2015–2021 Fiji. All rights reserved.