mirror of https://github.com/davisking/dlib.git
Clarified spec
This commit is contained in:
parent
0c561f2b89
commit
f6ad191c9e
|
@ -40,10 +40,11 @@ namespace dlib
|
||||||
Minimize: f(p) == 0.5*trans(p)*B*p + trans(g)*p
|
Minimize: f(p) == 0.5*trans(p)*B*p + trans(g)*p
|
||||||
subject to the following constraint:
|
subject to the following constraint:
|
||||||
- length(p) <= radius
|
- length(p) <= radius
|
||||||
- returns the number of iterations performed. If this method fails to
|
- returns the number of iterations performed. If this method fails to converge
|
||||||
converge to eps accuracy then the number returned will be max_iter+1.
|
to eps accuracy then the number returned will be max_iter+1.
|
||||||
- if this function returns 0 or 1 then we are not hitting the radius bound.
|
- if (this function didn't terminate due to hitting the max_iter iteration limit) then
|
||||||
Otherwise, the radius constraint is active and std::abs(length(#p)-radius) <= eps.
|
- if this function returns 0 or 1 then we are not hitting the radius bound Otherwise,
|
||||||
|
the radius constraint is active and std::abs(length(#p)-radius)/radius <= eps.
|
||||||
!*/
|
!*/
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue