annotate +scheme/errorMax.m @ 87:0a29a60e0b21

In Curve: Rearranged for speed. arc_length_fun is now a property of Curve. If it is not supplied, it is computed via the derivative and spline fitting. Switching to the arc length parameterization is much faster now. The new stuff can be tested with testArcLength.m (which should be deleted after that).
author Martin Almquist <martin.almquist@it.uu.se>
date Sun, 29 Nov 2015 22:23:09 +0100
parents 6db2094976a6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26
ed6a704b028d Made some changes to error functions and comparison functions before finalizing convergence script.
Jonatan Werpers <jonatan@werpers.com>
parents: 15
diff changeset
1 function e = errorMax(~, v1, v2)
33
6db2094976a6 Fixed really stupid error in errorMax.m
Jonatan Werpers <jonatan@werpers.com>
parents: 26
diff changeset
2 e = max(abs(v1-v2));
6db2094976a6 Fixed really stupid error in errorMax.m
Jonatan Werpers <jonatan@werpers.com>
parents: 26
diff changeset
3 end