function r83v_fs_test ( )

%*****************************************************************************80
%
%% R83V_FS_TEST tests R83V_FS_SL.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    20 February 2016
%
%  Author:
%
%    John Burkardt
%
  n = 10;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R83V_FS_TEST\n' );
  fprintf ( 1, '  R83V_FS factors and solves a linear system\n' );
  fprintf ( 1, '  for an R83V matrix.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N = %d\n', n );
%
%  Set the matrix values.
%
  [ a1, a2, a3 ] = r83v_dif2 ( n, n );
%
%  Set the desired solution.
%
  x1 = r8vec_indicator1 ( n );
%
%  Compute the corresponding right hand side.
%
  b = r83v_mv ( n, n, a1, a2, a3, x1 );

  r8vec_print  ( n, b, '  The right hand side:' );
%
%  Solve the linear system.
%
  x2 = r83v_fs ( n, a1, a2, a3, b );

  r8vec_print ( n, x2, '  Solution:' );

  return
end