view symmetricPart.m @ 1061:c7b619cf5e34

Add multiblock domain Line
author Martin Almquist <malmquist@stanford.edu>
date Thu, 07 Feb 2019 18:42:50 -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