view symmetricPart.m @ 1298:0ffb5bfa65e4 feature/boundary_optimized_grids

Improve comments
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Tue, 07 Jul 2020 16:23:44 +0200
parents f8072bb8d1d1
children
line wrap: on
line source

% Returns the symmetric of A
function S = symmetricPart(A, tol)
    S = 1/2*(A + A');
end