Package pal.math
Interface MFWithGradient
- All Superinterfaces:
MultivariateFunction
interface for a function of several variables with a gradient
- Version:
- $Id: MFWithGradient.java,v 1.2 2001/07/13 14:39:13 korbinian Exp $
- Author:
- Korbinian Strimmer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
computeGradient
(double[] argument, double[] gradient) compute gradient at a pointdouble
evaluate
(double[] argument, double[] gradient) compute both function value and gradient at a pointMethods inherited from interface pal.math.MultivariateFunction
evaluate, getLowerBound, getNumArguments, getOrthogonalHints, getUpperBound
-
Method Details
-
evaluate
double evaluate(double[] argument, double[] gradient) compute both function value and gradient at a point- Parameters:
argument
- function argument (vector)gradient
- gradient (on return)- Returns:
- function value
-
computeGradient
void computeGradient(double[] argument, double[] gradient) compute gradient at a point- Parameters:
argument
- function argument (vector)gradient
- gradient (on return)
-