function r8gd_zeros_test ( )

%*****************************************************************************80
%
%% R8GD_ZEROS_TEST tests R8GD_ZEROS.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    18 July 2016
%
%  Author:
%
%    John Burkardt
%
  n = 5;
  ndiag = 3;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8GD_ZEROS_TEST\n' );
  fprintf ( 1, '  R8GD_ZEROS zeros an R8GD matrix.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N            = %d\n', n );
  fprintf ( 1, '  Number of diagonals NDIAG = %d\n', ndiag );
%
%  Set the matrix.
%
  offset = [ -1, 0, 1 ];

  i4vec_print ( ndiag, offset, '  The offset vector:' );

  a = r8gd_zeros ( n, ndiag, offset );

  r8gd_print ( n, ndiag, offset, a, '  The zero R8GD matrix:' );

  return
end
