function r8vec_dot_product_test ( )

%*****************************************************************************80
%
%% R8VEC_DOT_PRODUCT_TEST tests R8VEC_DOT_PRODUCT.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    04 February 2016
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8VEC_DOT_PRODUCT_TEST:\n' );
  fprintf ( 1, '  R8VEC_DOT_PRODUCT computes the dot product of two R8VEC''s.\n' );

  n = 10;
  seed = 123456789;
  [ v1, seed ] = r8vec_uniform_01 ( n, seed );
  [ v2, seed ] = r8vec_uniform_01 ( n, seed );
  r8vec2_print ( v1, v2, '  V1 and V2:' );

  value = r8vec_dot_product ( n, v1, v2 );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  V1 dot V2 = %g\n', value );

  return
end
