Mercurial > repos > public > sbplib
view symmetricPart.m @ 1326:c2d716c4f1ed feature/D2_boundary_opt
Fix bug when using wide stencils
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Sun, 13 Feb 2022 20:58:35 +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