view +scheme/errorRelative.m @ 939:46f5dc61d90b feature/utux2D

Update Schrodinger2d to work with new interface types, similar to LaplCurv.
author Martin Almquist <malmquist@stanford.edu>
date Tue, 04 Dec 2018 14:25:03 -0800
parents ed6a704b028d
children
line wrap: on
line source

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