view symmetricPart.m @ 1328:3a286d2d1939 feature/D2_boundary_opt

Merge with feature/FMMlabb
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Mon, 14 Feb 2022 11:14:46 +0100
parents f8072bb8d1d1
children
line wrap: on
line source

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