view symmetricPart.m @ 904:14b093a344eb feature/utux2D

Outline new interface method in LaplaceCurvilinear
author Martin Almquist <malmquist@stanford.edu>
date Thu, 22 Nov 2018 22:03:06 -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