view symmetricPart.m @ 940:31186559236d feature/utux2D

Add forgotten type argument in call to interfaceStandard in Schrodinger2d and LaplCurv.
author Martin Almquist <malmquist@stanford.edu>
date Tue, 04 Dec 2018 14:42:36 -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