function m = mean3(f)
%MEAN3    Average or mean value of a BALLFUN.
%   MEAN3(F) is the mean of the BALLFUN F.
%
% See also MEAN, MEAN2.

% Copyright 2019 by The University of Oxford and The Chebfun Developers.
% See http://www.chebfun.org/ for Chebfun information.

m = sum3(f)*3/(4*pi);
end
