function matrix_transpose_test ( )

%*****************************************************************************80
%
%% matrix_transpose_test() computes a matrix transpose using einsum().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    09 August 2026
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, '  matrix_transpose_test():\n' );

  A = [ ...
    11, 12, 13; ...
    21, 22, 23 ];
  fprintf ( 1, '\n' );
  fprintf ( 1, '  A:\n' );
  disp ( A );

  AT = einsum ( 'ij -> ji', A );
  fprintf ( 1, '  AT = einsum ( "ij -> ji", A ):\n' );
  disp ( AT );

  return
end

