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

maths.functions.IScalarRealFunction Maven / Gradle / Ivy

The newest version!
package maths.functions;


import datasets.VectorDouble;

public interface IScalarRealFunction extends IRealFunction  {

    /**
     * Returns the number of coefficients
     */
    int numCoeffs();

    /**
     * Returns the coefficients of the vector function
     */
    VectorDouble getCoeffs();

    /**
     * Set the coefficients of the function
     */
    void setCoeff(double coeff);

    /**
     * Returns the gradient with respect to the i-th coeff
     */
    double gradient(double data);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy