function xab = p00_remap01 ( problem, dim_num, n, x01 )

%*****************************************************************************80
%
%% P00_REMAP01 remaps points in [0,1]^DIM_NUM into [A(1:DIM_NUM),B(1:DIM_NUM)].
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    18 March 2007
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer PROBLEM, the problem number.
%
%    integer DIM_NUM, the spatial dimension.
%
%    integer N, the number of points.
%
%    real X01(DIM_NUM,N), the points, in [0,1], 
%    to be transformed.
%
%  Output:
%
%    real XAB(DIM_NUM,N), the transformed points.
%
  [ a, b ] = p00_lim ( problem, dim_num );

  for i = 1 : dim_num
    xab(i,1:n) =  a(i) + ( b(i) - a(i) ) * x01(i,1:n);
  end

  return
end
