samer@4: % outer - outer product for 2D matrix samer@4: % samer@4: % outer :: [[N,M]] -> [[N,N]]. samer@16: function Y=outer(X), Y=X*X';