max
(method of S2Fun)
global or local maximum of one; or the pointwise maximum of two spherical functions
Syntax
v = max(sF) % the global maximum of a spherical function [v,pos] = max(sF) % the position where the maximum(s) is(are) atained
[v,pos] = max(sF,'numLocal',5) % the 5 largest local maxima
sF = max(sF, c) % maximum of a spherical functions and a constant sF = max(sF1, sF2) % maximum of two spherical functions
sF = max(sFmulti,[],dim) % compute the maximum of a multivariate function along dim
Input
sF, sF1, sF2 | |
sFmulti |
a multivariate S2Fun |
c |
double |
Output
v |
double |
pos | |
sF |
MTEX 5.0.0 |