mean edit page

calculates the mean value for an univariate S2Fun or calculates the mean along a specified dimension fo a multimodal S2Fun


If sF is a 3x3 S2Fun then mean(sF) returns a 3x3 matrix with the mean values of each function mean(sF, 1) returns a 1x3 S2Fun wich contains the pointwise means values along the first dimension


value = mean(sF)
sF = mean(sF, d)


sF S2FunHarmonic
d dimension to take the mean value over


sF S2FunHarmonic
value double