Least squares added to tests, make arguments optional
Coverted required args to optional args defmfun weighted-linear-mfit and replaced 'parameters with 'parameters-or-size. Added print-steps options for several more examples, and put the newline at the end of the format string. Added tests; CCL 64 bit now fails one of the linear least squares (returns zeros) and the nonlinear least squares (good to 6 or so significant figures). SBCL 64: TOTAL: 1231 assertions passed, 5 failed, 0 execution errors. CCL 64: TOTAL: 1234 assertions passed, 2 failed, 0 execution errors.
Showing
- gsll-tests.asd 3 additions, 1 deletiongsll-tests.asd
- solve-minimize-fit/linear-least-squares.lisp 73 additions, 53 deletionssolve-minimize-fit/linear-least-squares.lisp
- solve-minimize-fit/nonlinear-least-squares.lisp 22 additions, 21 deletionssolve-minimize-fit/nonlinear-least-squares.lisp
- solve-minimize-fit/roots-one.lisp 13 additions, 8 deletionssolve-minimize-fit/roots-one.lisp
- tests/linear-least-squares.lisp 18 additions, 0 deletionstests/linear-least-squares.lisp
- tests/nonlinear-least-squares.lisp 14 additions, 0 deletionstests/nonlinear-least-squares.lisp
- tests/roots-one.lisp 3 additions, 0 deletionstests/roots-one.lisp
Loading
Please register or sign in to comment