function determ = laguerre_determinant ( n )

%*****************************************************************************80
%
%% laguerre_determinant() returns the determinant of the LAGUERRE matrix.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    12 January 2021
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N, the order of the matrix.
%
%  Output:
%
%    real DETERM, the determinant.
%
  determ = 1.0;
  p = + 1.0;
  for i = 1 : n
    im1 = i - 1;
    determ = determ * p / factorial ( im1 );
    p = - p;
  end

  return
end
