view skewPart.m @ 1220:4dc295afe473

Merged in feature/d2_compatible (pull request #15) OpSet for fully compatible D2Variable Approved-by: Vidar Stiernström <vidar.stiernstrom@it.uu.se>
author Martin Almquist <malmquist@stanford.edu>
date Wed, 13 Nov 2019 23:36:19 +0000
parents f8072bb8d1d1
children
line wrap: on
line source

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