Commit f6ad191c authored by Davis King's avatar Davis King

Clarified spec

parent 0c561f2b
......@@ -40,10 +40,11 @@ namespace dlib
Minimize: f(p) == 0.5*trans(p)*B*p + trans(g)*p
subject to the following constraint:
- length(p) <= radius
- returns the number of iterations performed. If this method fails to
converge 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.
Otherwise, the radius constraint is active and std::abs(length(#p)-radius) <= eps.
- returns the number of iterations performed. If this method fails to converge
to eps accuracy then the number returned will be max_iter+1.
- if (this function didn't terminate due to hitting the max_iter iteration limit) then
- 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.
!*/
// ----------------------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment