Package com.imsl.math
Interface BoundedLeastSquares.Function
- Enclosing class:
- BoundedLeastSquares
public static interface BoundedLeastSquares.Function
Public interface for the user-supplied function to evaluate the function
that defines the least-squares problem.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcompute(double[] x, double[] f) Public interface for the user-supplied function to evaluate the function that defines the least-squares problem.
-
Method Details
-
compute
void compute(double[] x, double[] f) Public interface for the user-supplied function to evaluate the function that defines the least-squares problem.- Parameters:
x- adoublearray containing the point at which the function is to evaluated.x.length = nVariablesf- adoublearray which contains the function values at pointx.f.length = mFunctions
-