function r8ci_det_test ( )

%*****************************************************************************80
%
%% R8CI_DET_TEST tests R8CI_DET.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    17 June 2016
%
%  Author:
%
%    John Burkardt
%
  n = 5;
  seed = 123456789;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8CI_DET_TEST\n' );
  fprintf ( 1, '  R8CI_DET finds the determiannt of\n' );
  fprintf ( 1, '  a real circulant system.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N = %d\n', n );
%
%  Set the matrix.
%
  [ a, seed ] = r8ci_random ( n, seed );

  r8ci_print ( n, a, '  The circulant matrix:' );

  det = r8ci_det ( n, a );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  Computed determinant = %g\n', det );

  return
end
