view skewPart.m @ 649:1bdbe026abbc feature/d1_staggered

Make diracDiscr return zeros if x0 is outside grid.
author Martin Almquist <malmquist@stanford.edu>
date Tue, 14 Nov 2017 15:40:06 -0800
parents f8072bb8d1d1
children
line wrap: on
line source

% Returns the skew of A
function S = skewPart(A, tol)
    S = 1/2*(A - A');
end