'Vector mean.
Returns a new CartesianRepresentation instance with the means of the
x, y, and z components.
Refer to `~numpy.mean` for full documentation of the arguments, noting
that ``axis`` is the entry in the ``shape`` of the representation, and
that the ``out`` argument cannot be used.'

def mean(self, *args, **kwargs):

    self._raise_if_has_differentials(u'mean')
    return self._apply(u'mean', *args, **kwargs)
