Package opennlp.tools.ml.maxent.quasinewton

# Interface Function

All Known Implementing Classes:
  `NegLogLikelihood`, `ParallelNegLogLikelihood`, `QNMinimizer.L2RegFunction`

public interface Function
Interface for a function.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getDimension()`
  `double[]`
  `gradientAt(double[] x)`
  `double`
  `valueAt(double[] x)`

- ## Method Details

  - ### getDimension

    int getDimension()

  - ### valueAt

    double valueAt(double[] x)

  - ### gradientAt

    double[] gradientAt(double[] x)