view +scheme/errorRelative.m @ 1117:27019aca2f17 feature/poroelastic

Fix bug in LaplCurveNewCorner that makes bc matrix non-sparse.
author Martin Almquist <malmquist@stanford.edu>
date Sat, 04 May 2019 14:44:34 -0700
parents ed6a704b028d
children
line wrap: on
line source

function e = errorRelative(~,v1,v2)
    e = sqrt(sum((v1-v2).^2)/sum(v2.^2));
end