calculates the minimum of a spherical harminc
Syntax
[v,pos] = simultaniousCG(sF) % the position where the minimum is atained
[v,pos] = simultaniousCG(sF,'numLocal',5) % the 5 largest local minima
% with all options
[v,pos] = simultaniousCG(sF, 'startingnodes', NODES, 'lambda', LAMBDA, 'tau', TAU, 'mu', MU, 'kmax', KMAX, 'tauLS', TAULS, 'kmaxLS', KMAXLS)
Output
v | double |
pos | vector3d |
Options
STARTINGNODES | starting nodes of type vector3d |
LAMBDA | regularization parameter |
TAU | tolerance |
MU | in (0, 0.5) for Armijo condition |
KMAX | maximal iterations |
TAULS | in (0, 1) alpha(k+1) = tauLS*alpha(k) |
KMAXLS | maximal iterations for line search |