function B=sym(A), B=A+A';
% sym - Symmetric part of matrix (/2)
%
% sym :: [[N,N]] -> [[N,N]].
