view symmetricPart.m @ 1324:56439c1a49b4 feature/laplace1d_variable

Bugifx penalty sign.
author Martin Almquist <malmquist@stanford.edu>
date Sun, 27 Jun 2021 16:19:28 +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