function i4vec_transpose_print ( n, a, title )

%*****************************************************************************80
%
%% i4vec_transpose_print() prints an I4VEC "transposed".
%
%  Example:
%
%    A = (/ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 /)
%    TITLE = 'My vector:  '
%
%    My vector:
%
%       1    2    3    4    5
%       6    7    8    9   10
%      11
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    25 November 2015
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N, the number of components of the vector.
%
%    integer A(N), the vector to be printed.
%
%    string TITLE, a title.
%
  if ( 0 < length ( title ) )
    fprintf ( 1, '\n' );
    fprintf ( 1, '%s\n', title );
  end

  if ( n < 1 )

    fprintf ( 1, '  (None)\n' )

  else

    for ilo = 1 : 10 : n
      ihi = min ( ilo + 10 - 1, n );
      for i = ilo : ihi
        fprintf ( 1, '%8d', a(i) );
      end
      fprintf ( 1, '\n' );
    end

  end

  return
end
