Interface Function
- All Known Implementing Classes:
- NegLogLikelihood,- ParallelNegLogLikelihood,- QNMinimizer.L2RegFunction
public interface Function
Interface for a function.
- 
Method SummaryModifier and TypeMethodDescriptionintdouble[]gradientAt(double[] x) Computes the gradient forx.doublevalueAt(double[] x) Computes the function value forx.
- 
Method Details- 
getDimensionint getDimension()- Returns:
- Retrieves the dimension value.
 
- 
valueAtdouble valueAt(double[] x) Computes the function value forx.- Parameters:
- x- The input vector.
- Returns:
- Returns the computed value for x.
 
- 
gradientAtdouble[] gradientAt(double[] x) Computes the gradient forx.- Parameters:
- x- The input vector.
- Returns:
- Returns the computed gradient for x.
 
 
-