view symmetricPart.m @ 932:3860dad28239 feature/timesteppers

Remove unnecessary(?) arguments in Rungekutta.scheme.
author Martin Almquist <malmquist@stanford.edu>
date Mon, 03 Dec 2018 16:33:27 -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