min

(method of S2FunHarmonic)

calculates the minimum of a spherical harminc or the pointwise minimum of two spherical harmonics

Syntax

[v,pos] = min(sF) % the position where the minimum is atained
[v,pos] = min(sF,'numLocal',5) % the 5 largest local minima
% with all options
[v,pos] = min(sF, 'startingnodes', NODES, 'lambda', LAMBDA, 'tau', TAU, 'mu', MU, 'kmax', KMAX, 'tauLS', TAULS, 'kmaxLS', KMAXLS)
sF = min(sF, c) % minimum of a spherical functions and a constant
sF = min(sF1, sF2) % minimum of two spherical functions
sF = min(sF1, sF2, 'bandwidth', bw) % specify the new bandwidth
% compute the minimum of a multivariate function along dim
sF = min(sFmulti,[],dim)

Input

sF, sF1, sF2

S2Fun

sFmulti

a multivariate S2Fun

c

double

param,val Parameters and values that control min
Parameter Description
'bw'

minimal degree of the spherical harmonic for pointwise minimum of two S2FunHarmonic

'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

Output

v

double

pos

vector3d