view symmetricPart.m @ 1053:6f8d2fd0d412 feature/getBoundaryOp

Close branch feature/getBoundaryOp
author Jonatan Werpers <jonatan.werpers@it.uu.se>
date Thu, 24 Jan 2019 08:29:50 +0000
parents f8072bb8d1d1
children
line wrap: on
line source

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