This is a C version of the minpack minimization package. It has been derived from the fortran code using f2c and some limited manual editing. Note that you need to link against libf2c to use this version of minpack. Extern "C" linkage permits the package routines to be called from C++. Check ftp://netlib.bell-labs.com/netlib/f2c for the latest f2c version. For general minpack info and test programs, see the accompanying readme.txt and http://www.netlib.org/minpack/.
Type make
to compile and make install
to install in /usr/local
or modify the makefile to suit your needs.
This software has been tested on a RedHat 7.3 Linux machine - usual 'use at your own risk' warnings apply.
Manolis Lourakis -- lourakis at ics forth gr, July 2002 Institute of Computer Science, Foundation for Research and Technology - Hellas Heraklion, Crete, Greece
Repackaging by Frederic Devernay -- frederic dot devernay at m4x dot org
The project home page is at http://devernay.github.io/cminpack
version 1.3.11 (13/09/2024):
version 1.3.10 (11/09/2024):
version 1.3.9 (28/05/2024):
version 1.3.8 (09/02/2021):
version 1.3.7 (09/12/2020):
version 1.3.6 (24/02/2017):
version 1.3.5 (28/05/2016):
_s
.version 1.3.4 (28/05/2014):
CMakeLists.txt
is as easy as
find_package(CMinpack)
.version 1.3.3 (04/02/2014):
version 1.3.2 (27/10/2013):
SOVERSION
.version 1.3.1 (02/10/2013):
version 1.3.0 (09/06/2012):
make lapack
to build the LAPACK-based cminpack and "make
checklapack" to test it (results of the test may depend on the
underlying LAPACK and BLAS implementations).
On 64-bits architectures, the preprocessor symbol __LP64__
must be
defined (see cminpackP.h
) if the LAPACK library uses the LP64
interface (i.e. 32-bits integer, vhereas the ILP interface uses 64
bits integers).version 1.2.2 (16/05/2012):
version 1.2.1 (15/05/2012):
make check
(to run common tests, including against
the float version), make checkhalf
(to test the half version) and
make checkfail
(to run all the tests, even those that fail).version 1.2.0 (14/05/2012):
make -C fortran
, then make -C examples
and follow the
instructions). Added driver tests lmsdrv
, chkdrv
, hyjdrv
,
hybdrv
. make -C examples alltest
will run all
possible test combinations (make sure you have gfortran installed).version 1.1.5 (04/05/2012):
make -C cuda
(be careful, though: this is a
straightforward port from C, and each problem is solved using a
single thread). cminpack can now also be compiled with
single-precision floating point computation (define
__cminpack_real__
to float when compiling and using the
library). Fix cmake support for CMINPACK_LIB_INSTALL_DIR
. Update the
reference files for tests.version 1.1.4 (30/10/2011):
lmder
, lmdif
, lmstr
,
lmder1,
lmdif1,
lmstr1,
lmpar,
qrfac,
qrsolv,
fdjac2,
chkder`) to use
C-style indices.version 1.1.3 (16/03/2011):
strnstr()
to strstr()
in
genf77tests.c
.version 1.1.2 (07/01/2011):
version 1.1.1 (04/12/2010):
version 1.0.4 (18/10/2010):
cmake -DUSE_FPIC=ON -DBUILD_SHARED_LIBS=ON -DBUILD_EXAMPLES=OFF path_to_sources
version 1.0.3 (18/03/2010):
tfdjac2_
and tfdjac2c
examples, which test the accuracy of a
finite-differences approximation of the Jacobian.tlmstr1
(signaled by Thomas Capricelli).version 1.0.2 (27/02/2009):
version 1.0.1 (17/12/2007):
covar()
and covar_()
, the computation of tolr caused a
segfault (signaled by Timo Hartmann).version 1.0.0 (24/04/2007):
covar()
and covar_()
, and use it in tlmdef
/tlmdif