view symmetricPart.m @ 672:82024d32e333 feature/d1_staggered

Correct char BC in staggered acoustics 1D variable coeff.
author Martin Almquist <malmquist@stanford.edu>
date Wed, 27 Dec 2017 21:16:06 +0100
parents f8072bb8d1d1
children
line wrap: on
line source

% Returns the symmetric of A
function S = symmetricPart(A, tol)
    S = 1/2*(A + A');
end