Commit 3fc9258b authored by Zolnierczuk, Piotr's avatar Zolnierczuk, Piotr
Browse files

added minpack and slatec license and readme

parent b23a2792
Loading
Loading
Loading
Loading

LICENSE.minpack

0 → 100644
+52 −0
Original line number Diff line number Diff line
Minpack Copyright Notice (1999) University of Chicago.  All rights reserved

Redistribution and use in source and binary forms, with or
without modification, are permitted provided that the
following conditions are met:

1. Redistributions of source code must retain the above
copyright notice, this list of conditions and the following
disclaimer.

2. Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials
provided with the distribution.

3. The end-user documentation included with the
redistribution, if any, must include the following
acknowledgment:

   "This product includes software developed by the
   University of Chicago, as Operator of Argonne National
   Laboratory.

Alternately, this acknowledgment may appear in the software
itself, if and wherever such third-party acknowledgments
normally appear.

4. WARRANTY DISCLAIMER. THE SOFTWARE IS SUPPLIED "AS IS"
WITHOUT WARRANTY OF ANY KIND. THE COPYRIGHT HOLDER, THE
UNITED STATES, THE UNITED STATES DEPARTMENT OF ENERGY, AND
THEIR EMPLOYEES: (1) DISCLAIM ANY WARRANTIES, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE
OR NON-INFRINGEMENT, (2) DO NOT ASSUME ANY LEGAL LIABILITY
OR RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS, OR
USEFULNESS OF THE SOFTWARE, (3) DO NOT REPRESENT THAT USE OF
THE SOFTWARE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS, (4)
DO NOT WARRANT THAT THE SOFTWARE WILL FUNCTION
UNINTERRUPTED, THAT IT IS ERROR-FREE OR THAT ANY ERRORS WILL
BE CORRECTED.

5. LIMITATION OF LIABILITY. IN NO EVENT WILL THE COPYRIGHT
HOLDER, THE UNITED STATES, THE UNITED STATES DEPARTMENT OF
ENERGY, OR THEIR EMPLOYEES: BE LIABLE FOR ANY INDIRECT,
INCIDENTAL, CONSEQUENTIAL, SPECIAL OR PUNITIVE DAMAGES OF
ANY KIND OR NATURE, INCLUDING BUT NOT LIMITED TO LOSS OF
PROFITS OR LOSS OF DATA, FOR ANY REASON WHATSOEVER, WHETHER
SUCH LIABILITY IS ASSERTED ON THE BASIS OF CONTRACT, TORT
(INCLUDING NEGLIGENCE OR STRICT LIABILITY), OR OTHERWISE,
EVEN IF ANY OF SAID PARTIES HAS BEEN WARNED OF THE
POSSIBILITY OF SUCH LOSS OR DAMAGES.
+8 −0
Original line number Diff line number Diff line
@@ -20,3 +20,11 @@ Bibliography
3. Quick Guide for SNS-NSE Data Reduction Software DrSpine., Stingaciu, L. R. & Zolnierczuk, P. A.;  https://doi.org/10.2172/1883898 


Acknowledgements
---------------

This program uses subroutines from the following software

1. Slatec  https://www.netlib.org/slatec/
2. Minpack https://www.netlib.org/minpack			Copyright University of Chicago.
3. Linenoise https://github.com/antirez/linenoise	Copyright Salvatore Sanfilippo and Pieter Noordhuis.

readme.minpack

0 → 100644
+18 −0
Original line number Diff line number Diff line
====== readme for minpack ======

Minpack includes software for solving nonlinear equations and
nonlinear least squares problems.  Five algorithmic paths each include
a core subroutine and an easy-to-use driver.  The algorithms proceed
either from an analytic specification of the Jacobian matrix or
directly from the problem functions.  The paths include facilities for
systems of equations with a banded Jacobian matrix, for least squares
problems with a large amount of data, and for checking the consistency
of the Jacobian matrix with the functions.

This directory contains the double-precision versions.

Jorge More', Burt Garbow, and Ken Hillstrom at Argonne National Laboratory.

For copyright information see;           

http://www.netlib.org/minpack/disclaimer

readme.slatec

0 → 100644
+6 −0
Original line number Diff line number Diff line
 ===== readme for slatec =====

SLATEC Common Mathematical Library, Version 4.1, July 1993
a comprehensive software library containing over
1400 general purpose mathematical and statistical routines
written in Fortran 77.
+67 −0
Original line number Diff line number Diff line
!! Minpack includes software for solving nonlinear equations and
!! nonlinear least squares problems.  Five algorithmic paths each include
!! a core subroutine and an easy-to-use driver.  The algorithms proceed
!! either from an analytic specification of the Jacobian matrix or
!! directly from the problem functions.  The paths include facilities for
!! systems of equations with a banded Jacobian matrix, for least squares
!! problems with a large amount of data, and for checking the consistency
!! of the Jacobian matrix with the functions.
!! https://netlib.org/minpack
!!
!! Jorge More', Burt Garbow, and Ken Hillstrom at Argonne National Laboratory.
!!
!!
!! Minpack Copyright Notice (1999) University of Chicago.  All rights reserved
!!
!! Redistribution and use in source and binary forms, with or
!! without modification, are permitted provided that the
!! following conditions are met:
!!
!! 1. Redistributions of source code must retain the above
!! copyright notice, this list of conditions and the following
!! disclaimer.
!!
!! 2. Redistributions in binary form must reproduce the above
!! copyright notice, this list of conditions and the following
!! disclaimer in the documentation and/or other materials
!! provided with the distribution.
!!
!! 3. The end-user documentation included with the
!! redistribution, if any, must include the following
!! acknowledgment:
!!
!!    "This product includes software developed by the
!!    University of Chicago, as Operator of Argonne National
!!    Laboratory.
!!
!! Alternately, this acknowledgment may appear in the software
!! itself, if and wherever such third-party acknowledgments
!! normally appear.
!!
!! 4. WARRANTY DISCLAIMER. THE SOFTWARE IS SUPPLIED "AS IS"
!! WITHOUT WARRANTY OF ANY KIND. THE COPYRIGHT HOLDER, THE
!! UNITED STATES, THE UNITED STATES DEPARTMENT OF ENERGY, AND
!! THEIR EMPLOYEES: (1) DISCLAIM ANY WARRANTIES, EXPRESS OR
!! IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES
!! OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE
!! OR NON-INFRINGEMENT, (2) DO NOT ASSUME ANY LEGAL LIABILITY
!! OR RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS, OR
!! USEFULNESS OF THE SOFTWARE, (3) DO NOT REPRESENT THAT USE OF
!! THE SOFTWARE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS, (4)
!! DO NOT WARRANT THAT THE SOFTWARE WILL FUNCTION
!! UNINTERRUPTED, THAT IT IS ERROR-FREE OR THAT ANY ERRORS WILL
!! BE CORRECTED.
!!
!! 5. LIMITATION OF LIABILITY. IN NO EVENT WILL THE COPYRIGHT
!! HOLDER, THE UNITED STATES, THE UNITED STATES DEPARTMENT OF
!! ENERGY, OR THEIR EMPLOYEES: BE LIABLE FOR ANY INDIRECT,
!! INCIDENTAL, CONSEQUENTIAL, SPECIAL OR PUNITIVE DAMAGES OF
!! ANY KIND OR NATURE, INCLUDING BUT NOT LIMITED TO LOSS OF
!! PROFITS OR LOSS OF DATA, FOR ANY REASON WHATSOEVER, WHETHER
!! SUCH LIABILITY IS ASSERTED ON THE BASIS OF CONTRACT, TORT
!! (INCLUDING NEGLIGENCE OR STRICT LIABILITY), OR OTHERWISE,
!! EVEN IF ANY OF SAID PARTIES HAS BEEN WARNED OF THE
!! POSSIBILITY OF SUCH LOSS OR DAMAGES.



      subroutine lmdif(fcn,m,n,x,fvec,ftol,xtol,gtol,maxfev,epsfcn,     &
     &                 diag,mode,factor,nprint,info,nfev,fjac,ldfjac,   &
     &                 ipvt,qtf,wa1,wa2,wa3,wa4)                        
Loading