function value = sincu_fun ( x )

%*****************************************************************************80
%
%% sincu_fun() evaluates the unnormalized sinc() function.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    26 March 2025
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real x: the argument of the function.
%
%  Output:
%
%    real value: the value of the function.
%
  value = zeros ( size ( x ) );

  nz = find ( x ~= 0.0 );
  zr = find ( x == 0.0 );

  value(nz) = sin ( x(nz) ) ./ x(nz);
  value(zr) = 1.0;

  return
end

