view skewPart.m @ 632:d98d9c79573f bugfix/TiVectorInputs

Switch to elementwise multiplication where it was not used
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 23 Oct 2017 15:46:25 +0200
parents f8072bb8d1d1
children
line wrap: on
line source

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