view symmetricPart.m @ 1132:375f73edbbd4 feature/laplace_curvilinear_test

Improve Rectangle.show()
author Martin Almquist <malmquist@stanford.edu>
date Mon, 27 May 2019 16:34:38 -0700
parents f8072bb8d1d1
children
line wrap: on
line source

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