function r8sto_mv_test ( )

%*****************************************************************************80
%
%% R8STO_MV_TEST tests R8STO_MV.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    28 September 2015
%
%  Author:
%
%    John Burkardt
%
  n = 5;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8STO_MV_TEST\n' );
  fprintf ( 1, '  R8STO_MV computes b=A*x, where A is an R8STO matrix.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N = %d\n', n );

  seed = 123456789;
  [ a, seed ] = r8sto_random ( n, seed );
  r8sto_print ( n, a, '  The R8STO matrix:' );

  x = r8vec_indicator1 ( n );
  r8vec_print ( n, x, '  x:' );

  b = r8sto_mv ( n, a, x );
  r8vec_print ( n, b, '  b=A*x:' );

  return
end
