function r83v_transpose_test ( )

%*****************************************************************************80
%
%% R83V_TRANSPOSE_TEST tests R83V_TRANSPOSE.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    10 February 2016
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'R83V_TRANSPOSE_TEST\n' );
  fprintf ( 1, '  R83V_TRANSPOSE makes a transposed copy of an R83V matrix.\n' );
  fprintf ( 1, '  We check three cases, M<N, M=N, M>N.\n' );

  for i = 1 : 3

    if ( i == 1 )
      m = 3;
      n = 5;
    elseif ( i == 2 )
      m = 5;
      n = 5;
    elseif ( i == 3 )
      m = 5;
      n = 3;
    end

    [ a1, a2, a3 ] = r83v_indicator ( m, n );
    r83v_print ( m, n, a1, a2, a3, '  A:' );

    [ b1, b2, b3 ] = r83v_transpose ( m, n, a1, a2, a3 );
    r83v_print ( n, m, b1, b2, b3, '  B = tranposed copy of A:' );

  end

  return
end
