function p2 = pariomino_reverse ( p1 )

%*****************************************************************************80
%
%% pariomino_reverse reverses the parity of each cell of a pariomino.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    02 May 2020
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer P1(M,N), the representation of pariomino P1. 
%
%  Output:
%
%    integer P2(M,N), the representation of pariomino P2. 
%
  p2 = - p1;

  return
end
