view symmetricPart.m @ 859:4c7532db42cd feature/poroelastic

Add method getTimeStepQuadrature to RungeKuttaDiscreteData
author Martin Almquist <malmquist@stanford.edu>
date Wed, 03 Oct 2018 10:43:24 -0700
parents f8072bb8d1d1
children
line wrap: on
line source

% Returns the symmetric of A
function S = symmetricPart(A, tol)
    S = 1/2*(A + A');
end