All Downloads are FREE. Search and download functionalities are using the official Maven repository.

momentsketch.optimizer.FunctionWithHessian Maven / Gradle / Ivy

There is a newer version: 0.1.1
Show newest version
package momentsketch.optimizer;

/**
 * Describes a function which can be optimized using Newton's method.
 */
public interface FunctionWithHessian {
    void computeOnlyValue(double[] point, double tol);
    void computeAll(double[] point, double tol);
    int dim();
    double getValue();
    double[] getGradient();
    // Returns in row-major order
    double[][] getHessian();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy