view symmetricPart.m @ 1049:0c504a21432d feature/getBoundaryOp

Add getBoundaryQuadrature to all 1d diffOps
author Martin Almquist <malmquist@stanford.edu>
date Tue, 22 Jan 2019 11:17:28 -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