maths.functions.IVectorRealFunction Maven / Gradle / Ivy
package maths.functions;
import datastructs.IVector;
public interface IVectorRealFunction extends IRealFunction {
/**
* Returns the gradients with respect to the coefficients at the given data point
*/
IVector gradidents(IVector data);
/**
* Compute the gradients with respect to the coefficients
*/
IVector coeffGradients(IVector data);
/**
* Returns the gradient
*/
double gradient(int i, IVector data);
/**
* Returns the gradient with respect to the i-th coeff
*/
double coeffGradient(int i, IVector data);
}