function basis = CH(xi)

% This function evaluations the 1d cubic hermite basis functions at the specified point

  basis(1,1) = (1-3*xi^2+2*xi^3);
  basis(1,2) = xi*(xi-1)^2;
  basis(2,1) = xi^2*(3-2*xi);
  basis(2,2) = xi^2*(xi-1);

return;