function determ = gk324_determinant ( n, x )

%*****************************************************************************80
%
%% gk324_determinant() returns the determinant of the GK324 matrix.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%   18 October 2007
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N, the order of the matrix.
%
%    real X(N-1), the first N-1 entries of the last row.
%
%  Output:
%
%    real DETERM, the determinant.
%
  determ = prod ( 1.0 - x(1:n-1) );

  return
end
