view symmetricPart.m @ 1062:e512714fb890 feature/laplace_curvilinear_test

Merge with feature/getBoundaryOp
author Martin Almquist <malmquist@stanford.edu>
date Mon, 14 Jan 2019 18:14:44 -0800
parents f8072bb8d1d1
children
line wrap: on
line source

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