From 9444e2896789ddfc918e35c660d976aed9b24906 Mon Sep 17 00:00:00 2001 From: Luc Maisonobe Date: Tue, 18 Feb 2014 14:32:11 +0000 Subject: [PATCH] Fixup javadoc in LeastSquaresProblem git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1569347 13f79535-47bb-0310-9956-ffa450edef68 --- .../leastsquares/LeastSquaresProblem.java | 29 ++++++++++++------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/src/main/java/org/apache/commons/math3/fitting/leastsquares/LeastSquaresProblem.java b/src/main/java/org/apache/commons/math3/fitting/leastsquares/LeastSquaresProblem.java index a8d8a497c..f61bc32cf 100644 --- a/src/main/java/org/apache/commons/math3/fitting/leastsquares/LeastSquaresProblem.java +++ b/src/main/java/org/apache/commons/math3/fitting/leastsquares/LeastSquaresProblem.java @@ -6,9 +6,11 @@ import org.apache.commons.math3.optim.PointVectorValuePair; /** * The data necessary to define a non-linear least squares problem. Includes the observed - * values, computed model function, weights, and convergence/divergence criteria. + * values, computed model function, and convergence/divergence criteria. Weights are + * implicit in {@link Evaluation#computeResiduals()} and {@link + * Evaluation#computeJacobian()}. * - * @author Evan Ward + * @version $Id$ */ public interface LeastSquaresProblem extends OptimizationProblem { @@ -19,13 +21,15 @@ public interface LeastSquaresProblem extends OptimizationProblem1/2 K. - * @throws DimensionMismatchException if {@code params} has a wrong length. + * @throws DimensionMismatchException if the residuals have the wrong length. */ double[] computeResiduals();