Mercurial > repos > public > sbplib
view symmetricPart.m @ 1325:1b0f2415237f feature/D2_boundary_opt
Add variable coefficient boundary-optimized second derivatives.
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Sun, 13 Feb 2022 19:32:34 +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