view +scheme/error1d.m @ 367:05947fc2505c feature/hypsyst

Added different operators to Utux
author Ylva Rydin <ylva.rydin@telia.com>
date Tue, 27 Dec 2016 09:11:29 +0100
parents ed6a704b028d
children
line wrap: on
line source

function e = error1d(discr, v1, v2)
    h = discr.h;
    e = sqrt(h*sum((v1-v2).^2));
end