2009-09-28 08:43:07 +08:00
|
|
|
// This file is part of Eigen, a lightweight C++ template library
|
|
|
|
// for linear algebra.
|
|
|
|
//
|
|
|
|
// Copyright (C) 2009 Thomas Capricelli <orzel@freehackers.org>
|
|
|
|
//
|
2012-07-14 02:42:47 +08:00
|
|
|
// This Source Code Form is subject to the terms of the Mozilla
|
|
|
|
// Public License v. 2.0. If a copy of the MPL was not distributed
|
|
|
|
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2009-09-28 08:43:07 +08:00
|
|
|
|
|
|
|
#ifndef EIGEN_NUMERICALDIFF_MODULE
|
|
|
|
#define EIGEN_NUMERICALDIFF_MODULE
|
|
|
|
|
|
|
|
#include <Eigen/Core>
|
|
|
|
|
|
|
|
namespace Eigen {
|
|
|
|
|
2013-01-11 17:40:35 +08:00
|
|
|
/**
|
2010-07-06 20:10:08 +08:00
|
|
|
* \defgroup NumericalDiff_Module Numerical differentiation module
|
2009-11-09 13:45:27 +08:00
|
|
|
*
|
|
|
|
* \code
|
|
|
|
* #include <unsupported/Eigen/NumericalDiff>
|
|
|
|
* \endcode
|
|
|
|
*
|
2009-09-28 08:43:07 +08:00
|
|
|
* See http://en.wikipedia.org/wiki/Numerical_differentiation
|
|
|
|
*
|
2009-11-09 10:07:36 +08:00
|
|
|
* Warning : this should NOT be confused with automatic differentiation, which
|
2009-11-09 11:52:47 +08:00
|
|
|
* is a different method and has its own module in Eigen : \ref
|
|
|
|
* AutoDiff_Module.
|
2009-11-09 10:07:36 +08:00
|
|
|
*
|
2009-11-09 13:45:27 +08:00
|
|
|
* Currently only "Forward" and "Central" schemes are implemented. Those
|
2009-11-09 11:21:45 +08:00
|
|
|
* are basic methods, and there exist some more elaborated way of
|
|
|
|
* computing such approximates. They are implemented using both
|
|
|
|
* proprietary and free software, and usually requires linking to an
|
|
|
|
* external library. It is very easy for you to write a functor
|
|
|
|
* using such software, and the purpose is quite orthogonal to what we
|
|
|
|
* want to achieve with Eigen.
|
|
|
|
*
|
|
|
|
* This is why we will not provide wrappers for every great numerical
|
2010-07-06 20:10:08 +08:00
|
|
|
* differentiation software that exist, but should rather stick with those
|
2009-11-09 11:21:45 +08:00
|
|
|
* basic ones, that still are useful for testing.
|
|
|
|
*
|
2009-11-11 04:33:36 +08:00
|
|
|
* Also, the \ref NonLinearOptimization_Module needs this in order to
|
2009-11-09 11:21:45 +08:00
|
|
|
* provide full features compatibility with the original (c)minpack
|
|
|
|
* package.
|
|
|
|
*
|
2009-09-28 08:43:07 +08:00
|
|
|
*/
|
2012-04-15 18:06:28 +08:00
|
|
|
}
|
|
|
|
|
2009-09-28 08:43:07 +08:00
|
|
|
//@{
|
|
|
|
|
|
|
|
#include "src/NumericalDiff/NumericalDiff.h"
|
|
|
|
|
|
|
|
//@}
|
|
|
|
|
2009-11-09 10:25:21 +08:00
|
|
|
|
2009-09-28 08:43:07 +08:00
|
|
|
#endif // EIGEN_NUMERICALDIFF_MODULE
|