view symmetricPart.m @ 616:818d52d4928f feature/grids

Add helper function for convergence runs on discretizations
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 11 Oct 2017 16:01:22 +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