geometricMean(a)

Returns the geometric mean of the values stored in array a.

geometricMean(A)

Returns an array with the geometric mean of each column of matrix A.


See also harmonicMean mean 


Example


a = ( 1, 2, 4, 7 );

geometricMean(a)

2.7356