mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 11:49:02 +08:00
doc : update code, mention examples
This commit is contained in:
parent
4365a48748
commit
e97529c2e3
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user