Mercurial > repos > public > sbplib
view symmetricPart.m @ 624:0e20f4c9a94e feature/grids
Factor out function for calculating the number of components
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 20 Oct 2017 22:59:30 +0200 |
parents | f8072bb8d1d1 |
children |
line wrap: on
line source
% Returns the symmetric of A function S = symmetricPart(A, tol) S = 1/2*(A + A'); end