function value = r8vec_norm_affine ( n, v0, v1 )

%*****************************************************************************80
%
%% r8vec_norm_affine() returns the affine norm of an R8VEC.
%
%  Discussion:
%
%    An R8VEC is a vector of R8's.
%
%    The affine vector L2 norm is defined as:
%
%      R8VEC_NORM_AFFINE(V0,V1) 
%        = sqrt ( sum ( 1 <= I <= N ) ( V1(I) - V0(I) )^2 )
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    30 July 2013
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N, the vector dimnension.
%
%    real V0(N), the base vector.
%
%    real V1(N), the vector.
%
%  Output:
%
%    real VALUE, the affine L2 norm.
%

%
%  Destroy all row vectors!
%
  v0 = v0(:);
  v1 = v1(:);

  value = sqrt ( sum ( ( v0(1:n) - v1(1:n) ).^2 ) );

  return
end
