view symmetricPart.m @ 596:4bb298faa8dc feature/better_multiblock_defs

Add more boundary groups in Rectangle. Bugfix in boundaryGroups.all.
author Martin Almquist <malmquist@stanford.edu>
date Tue, 26 Sep 2017 13:28:12 -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