function diophantine_basis_print ( d, v, W )

%*****************************************************************************80
%
%% diophantine_basis_print() prints the Diophantine solution space basis.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    11 March 2020
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer d: a value that must be a factor of the right hand side.
%
%    integer v(n): the solution for c = 0.
%
%    integer W(n,n-1): the basis vectors.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Any right hand side must be a multiple of d = %d\n', d );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  A particular solution v:\n' );
  disp ( v );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  General solution x = v + W*c, where W is:\n' );
  disp ( W );

  return
end

