function y = expmx2(x) % expmx2 Evaluate exp(-x^2), where x is a scalar or vector y = exp(-x.^2);