function determ = smoke2_determinant ( n )

%*****************************************************************************80
%
%% smoke2_determinant() returns the determinant of the SMOKE2 matrix.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    25 October 2007
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N, the order of A.
%
%  Output:
%
%    real DETERM, the determinant.
%
  if ( mod ( n, 2 ) == 1 )
    determ =   1.0;
  else
    determ = - 1.0;
  end

  return
end
