function v = u_polynomial_ab_value ( a, b, n, xab )

%*****************************************************************************80
%
%% U_POLYNOMIAL_AB_VALUE: Chebyshev polynomial UAB(n,x) in [A,B]
%
%  Discussion:
%
%    UAB(n,x) = U(n,(2*x-a-b)/(b-a))
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    20 July 2015
%
%  Author:
%
%    John Burkardt
%
%  Parameters:
%
%    Input, real A, B, the domain of definition.
%
%    Input, integer N, the polynomial degree.
%
%    Input, real XAB, the evaluation point.
%    A <= XAB <= B.
%
%    Output, real V, the value of UAB(N,XAB).
%
  x = ( 2.0 * xab - a - b ) / ( b - a );

  v = u_polynomial_value ( n, x );
 
  return
end
