doc : update code, mention examples

This commit is contained in:
Thomas Capricelli 2010-01-27 08:14:50 +01:00
parent 4365a48748
commit e97529c2e3

View File

@ -108,19 +108,23 @@ namespace Eigen {
* handle the loop: init + loop until a stop condition is met. Those are provided for * handle the loop: init + loop until a stop condition is met. Those are provided for
* convenience. * convenience.
* *
* As an example, the method LevenbergMarquardt.minimizeNumericalDiff() is * As an example, the method LevenbergMarquardt::minimize() is
* implemented as follow : * implemented as follow :
* \code * \code
* LevenbergMarquardt.minimizeNumericalDiff(Matrix< Scalar, Dynamic, 1 > &x, * Status LevenbergMarquardt<FunctorType,Scalar>::minimize(FVectorType &x, const int mode)
* const int mode )
* { * {
* Status status = minimizeNumericalDiffInit(x, mode); * Status status = minimizeInit(x, mode);
* while (status==Running) * do {
* status = minimizeNumericalDiffOneStep(x, mode); * status = minimizeOneStep(x, mode);
* } while (status==Running);
* return status; * return status;
* } * }
* \endcode * \endcode
* *
* \section examples Examples
*
* The easiest way to understand how to use this module is by looking at the many examples in the file
* unsupported/test/NonLinearOptimization.cpp.
*/ */
#ifndef EIGEN_PARSED_BY_DOXYGEN #ifndef EIGEN_PARSED_BY_DOXYGEN