: s = end(A, dim)

Compute the mean along dimension DIM.

Package: ncarray