function z=crect(x,y)

% CRECT       Canonical Rectangular Kernel Function for univariate data.

if nargin==1,
  z=krect(x/1.351)/1.351;
  elseif nargin==2,
    z=krect(x/1.351).*krect(y/1.351)/1.351^2;
end;