summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/base/lmfit.asy
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-06-08 13:46:05 +0000
committerKarl Berry <karl@freefriends.org>2010-06-08 13:46:05 +0000
commita960e44eb527236f39aec81babc0474911a86078 (patch)
tree9950eca71791d90820a80a521a7cc252c0955db5 /Build/source/utils/asymptote/base/lmfit.asy
parent6443467452320c296faa1f43f0606a9457bd4463 (diff)
asy 1.96
git-svn-id: svn://tug.org/texlive/trunk@18817 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/base/lmfit.asy')
-rw-r--r--Build/source/utils/asymptote/base/lmfit.asy28
1 files changed, 14 insertions, 14 deletions
diff --git a/Build/source/utils/asymptote/base/lmfit.asy b/Build/source/utils/asymptote/base/lmfit.asy
index 72745625824..e70421074e5 100644
--- a/Build/source/utils/asymptote/base/lmfit.asy
+++ b/Build/source/utils/asymptote/base/lmfit.asy
@@ -28,7 +28,7 @@
the least-squares sum
%
\begin{equation*}
- \sum_{i = 1}^n \left( \frac{y_i - f(a_1, \dots, a_m; x_i)}{\Delta y_i} \right)^2
+ \sum_{i = 1}^n \left( \frac{y_i - f(a_1, \dots, a_m; x_i)}{\Delta y_i} \right)^2
\end{equation*}
%
with respect to the parameters $a_1, \dots, a_m$.
@@ -822,13 +822,13 @@ struct FitResult {
Fits data points to a function that depends on some parameters.
Parameters:
- - xdata: Array of x values.
- - ydata: Array of y values.
- - errors: Array of experimental errors; each element must be strictly positive
- - function: Fit function.
- - parameters: Parameter array. Before calling fit(), this must contain the initial guesses for the parameters.
- Upon return, it will contain the solution parameters.
- - control: object of type FitControl that controls various aspects of the fitting procedure.
+ - xdata: Array of x values.
+ - ydata: Array of y values.
+ - errors: Array of experimental errors; each element must be strictly positive
+ - function: Fit function.
+ - parameters: Parameter array. Before calling fit(), this must contain the initial guesses for the parameters.
+ Upon return, it will contain the solution parameters.
+ - control: object of type FitControl that controls various aspects of the fitting procedure.
Returns:
An object of type FitResult that conveys information about the fitting process.
@@ -865,12 +865,12 @@ FitResult fit(real[] xdata, real[] ydata, real[] errors, real function(real[], r
Fits data points to a function that depends on some parameters.
Parameters:
- - xdata: Array of x values.
- - ydata: Array of y values.
- - function: Fit function.
- - parameters: Parameter array. Before calling fit(), this must contain the initial guesses for the parameters.
- Upon return, it will contain the solution parameters.
- - control: object of type FitControl that controls various aspects of the fitting procedure.
+ - xdata: Array of x values.
+ - ydata: Array of y values.
+ - function: Fit function.
+ - parameters: Parameter array. Before calling fit(), this must contain the initial guesses for the parameters.
+ Upon return, it will contain the solution parameters.
+ - control: object of type FitControl that controls various aspects of the fitting procedure.
Returns:
An object of type FitResult that conveys information about the fitting process.