comparison +scheme/error1d.m @ 15:16bad7c459da

Added abstract methods to allow for comparing of solutions. Added a bunch of error functions.
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 22 Sep 2015 13:36:45 +0200
parents
children ed6a704b028d
comparison
equal deleted inserted replaced
14:a66aefd5e6ac 15:16bad7c459da
1 function e = error1d(schm, v1, v2)
2 h = schm.h;
3 e = sqrt(h*sum((v1-v2).^2));
4 end