function volume = simplex01_volume ( m )

%*****************************************************************************80
%
%% simplex01_volume() returns the volume of the unit simplex in M dimensions.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    15 January 2014
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer M, the spatial dimension.
%
%  Output:
%
%    real VOLUME, the volume.
%
  volume = 1.0;
  for i = 1 : m
    volume = volume / i;
  end

  return
end
