view symmetricPart.m @ 903:703183ed8c8b feature/utux2D

Include interface type in multiblock.DiffOp, passed to all scheme.interface methods.
author Martin Almquist <malmquist@stanford.edu>
date Thu, 22 Nov 2018 22:01:58 -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