# doc-cache created by Octave 7.3.0
# name: cache
# type: cell
# rows: 3
# columns: 1
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 4
mean


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1958
 -- Function File: M = mean (X)
 -- Function File: M = mean (X, "all")
 -- Function File: M = mean (X, DIM)
 -- Function File: M = mean (X, VECDIM)
 -- Function File: M = mean (..., OUTTYPE)
 -- Function File: M = mean (..., NANFLAG)

     Compute the geometric mean of X.

        * If X is a vector, then 'geomean(X)' returns the mean of the
          elements in X defined as

               mean (X) = SUM_i X(i) * (1/N)

          where N is the length of the X vector.

        * If X is a matrix, then 'mean(X)' returns a row vector with the
          mean of each columns in X.

        * If X is a multidimensional array, then 'mean(X)' operates
          along the first nonsingleton dimension of X.

     'mean(X, "all")' returns the geometric mean of all the elements in
     X.

     'mean(X, DIM)' returns the geometric mean along the operating
     dimension DIM of X.

     'mean(X, VECDIM)' returns the geometric mean over the dimensions
     specified in the vector VECDIM.  For example, if X is a 2-by-3-by-4
     array, then 'geomean(X, [1 2])' returns a 1-by-4 array.  Each
     element of the output array is the geometric mean of the elements
     on the corresponding page of X.  NOTE! VECDIM MUST index at least
     N-2 dimensions of X, where 'N = length (size (X))' and N < 8.  If
     VECDIM indexes all dimensions of X, then it is equivalent to
     'geomean(X, "all")'.

     'mean(..., OUTTYPE)' returns the mean with a specified data type,
     using any of the input arguments in the previous syntaxes.  OUTTYPE
     can be "default", "double", or "native".

     'mean(..., NANFLAG)' specifies whether to exclude NaN values rom
     the calculation, using any of the input argument combinations in
     previous syntaxes.  By default, geomean includes NaN values in the
     calculation (NANFLAG has the value "includenan").  To exclude NaN
     values, set the value of NANFLAG to "omitnan".

     See also: harmmean, mean.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 32
Compute the geometric mean of X.





