| 1 |
|
| 2 |
MPFIT: A MINPACK-1 Least Squares Fitting Library in C |
| 3 |
|
| 4 |
Original public domain version by B. Garbow, K. Hillstrom, J. More' |
| 5 |
(Argonne National Laboratory, MINPACK project, March 1980) |
| 6 |
Copyright (1999) University of Chicago |
| 7 |
(see below) |
| 8 |
|
| 9 |
Tranlation to C Language by S. Moshier (moshier.net) |
| 10 |
(no restrictions placed on distribution) |
| 11 |
|
| 12 |
Enhancements and packaging by C. Markwardt |
| 13 |
(comparable to IDL fitting routine MPFIT |
| 14 |
see http://cow.physics.wisc.edu/~craigm/idl/idl.html) |
| 15 |
Copyright (C) 2003, 2004, 2006, 2007 Craig B. Markwardt |
| 16 |
|
| 17 |
This software is provided as is without any warranty whatsoever. |
| 18 |
Permission to use, copy, modify, and distribute modified or |
| 19 |
unmodified copies is granted, provided this copyright and disclaimer |
| 20 |
are included unchanged. |
| 21 |
|
| 22 |
|
| 23 |
Source code derived from MINPACK must have the following disclaimer |
| 24 |
text provided. |
| 25 |
|
| 26 |
=========================================================================== |
| 27 |
Minpack Copyright Notice (1999) University of Chicago. All rights reserved |
| 28 |
|
| 29 |
Redistribution and use in source and binary forms, with or |
| 30 |
without modification, are permitted provided that the |
| 31 |
following conditions are met: |
| 32 |
|
| 33 |
1. Redistributions of source code must retain the above |
| 34 |
copyright notice, this list of conditions and the following |
| 35 |
disclaimer. |
| 36 |
|
| 37 |
2. Redistributions in binary form must reproduce the above |
| 38 |
copyright notice, this list of conditions and the following |
| 39 |
disclaimer in the documentation and/or other materials |
| 40 |
provided with the distribution. |
| 41 |
|
| 42 |
3. The end-user documentation included with the |
| 43 |
redistribution, if any, must include the following |
| 44 |
acknowledgment: |
| 45 |
|
| 46 |
"This product includes software developed by the |
| 47 |
University of Chicago, as Operator of Argonne National |
| 48 |
Laboratory. |
| 49 |
|
| 50 |
Alternately, this acknowledgment may appear in the software |
| 51 |
itself, if and wherever such third-party acknowledgments |
| 52 |
normally appear. |
| 53 |
|
| 54 |
4. WARRANTY DISCLAIMER. THE SOFTWARE IS SUPPLIED "AS IS" |
| 55 |
WITHOUT WARRANTY OF ANY KIND. THE COPYRIGHT HOLDER, THE |
| 56 |
UNITED STATES, THE UNITED STATES DEPARTMENT OF ENERGY, AND |
| 57 |
THEIR EMPLOYEES: (1) DISCLAIM ANY WARRANTIES, EXPRESS OR |
| 58 |
IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES |
| 59 |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE |
| 60 |
OR NON-INFRINGEMENT, (2) DO NOT ASSUME ANY LEGAL LIABILITY |
| 61 |
OR RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS, OR |
| 62 |
USEFULNESS OF THE SOFTWARE, (3) DO NOT REPRESENT THAT USE OF |
| 63 |
THE SOFTWARE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS, (4) |
| 64 |
DO NOT WARRANT THAT THE SOFTWARE WILL FUNCTION |
| 65 |
UNINTERRUPTED, THAT IT IS ERROR-FREE OR THAT ANY ERRORS WILL |
| 66 |
BE CORRECTED. |
| 67 |
|
| 68 |
5. LIMITATION OF LIABILITY. IN NO EVENT WILL THE COPYRIGHT |
| 69 |
HOLDER, THE UNITED STATES, THE UNITED STATES DEPARTMENT OF |
| 70 |
ENERGY, OR THEIR EMPLOYEES: BE LIABLE FOR ANY INDIRECT, |
| 71 |
INCIDENTAL, CONSEQUENTIAL, SPECIAL OR PUNITIVE DAMAGES OF |
| 72 |
ANY KIND OR NATURE, INCLUDING BUT NOT LIMITED TO LOSS OF |
| 73 |
PROFITS OR LOSS OF DATA, FOR ANY REASON WHATSOEVER, WHETHER |
| 74 |
SUCH LIABILITY IS ASSERTED ON THE BASIS OF CONTRACT, TORT |
| 75 |
(INCLUDING NEGLIGENCE OR STRICT LIABILITY), OR OTHERWISE, |
| 76 |
EVEN IF ANY OF SAID PARTIES HAS BEEN WARNED OF THE |
| 77 |
POSSIBILITY OF SUCH LOSS OR DAMAGES. |