further extended docs
parent
91d275c9c7
commit
9a4bd10e22
|
|
@ -80,7 +80,9 @@ public:
|
||||||
* // ...
|
* // ...
|
||||||
* lmOpts.iterationHook = &foo;
|
* lmOpts.iterationHook = &foo;
|
||||||
* \endcode
|
* \endcode
|
||||||
* or to a C++11 lambda:
|
* or to a C++11 lambda (preferred if you need to capture additional
|
||||||
|
* context variables, such that the optimizer object itself, the factor graph,
|
||||||
|
* etc.):
|
||||||
* \code
|
* \code
|
||||||
* lmOpts.iterationHook = [&](size_t iter, double oldError, double newError)
|
* lmOpts.iterationHook = [&](size_t iter, double oldError, double newError)
|
||||||
* {
|
* {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue