function value = u_polynomial_value ( n, x )

%*****************************************************************************80
%
%% U_POLYNOMIAL_VALUE: returns the single value U(n,x).
%
%  Discussion:
%
%    In cases where calling U_POLYNOMIAL is inconvenient, because it returns
%    a vector of values for multiple arguments X, this simpler interface
%    may be appropriate.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    11 July 2015
%
%  Author:
%
%    John Burkardt
%
%  Parameters:
%
%    Input, integer N, the order of the polynomial.
%
%    Input, real X, the argument of the polynomial.
%
%    Output, real VALUE, the value of U(n,x).
%
  if ( n < 0 )
    value = 0.0;
  else
    m = 1;
    v_vec = u_polynomial ( m, n, x );
    value = v_vec(n+1);
  end

  return
end
