Mercurial > emacs
changeset 86480:9a67bab483db
(calc-get-fit-variables): Declare as a function.
author | Jay Belanger <jay.p.belanger@gmail.com> |
---|---|
date | Tue, 27 Nov 2007 04:07:42 +0000 |
parents | 0ea24c4dea5d |
children | f7e3c30cc97d |
files | lisp/calc/calc-nlfit.el |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/calc/calc-nlfit.el Tue Nov 27 04:07:26 2007 +0000 +++ b/lisp/calc/calc-nlfit.el Tue Nov 27 04:07:42 2007 +0000 @@ -62,6 +62,10 @@ (require 'calc-arith) +;; Declare functions which are defined elsewhere. +(declare-function calc-get-fit-variables "calcalg3" (nv nc &optional defv defc with-y homog)) + + (defun math-nlfit-least-squares (xdata ydata &optional sdata sigmas) "Return the parameters A and B for the best least squares fit y=a+bx." (let* ((n (length xdata))