English

Computing the Distance between Piecewise-Linear Bivariate Functions

Computational Geometry 2011-07-14 v2 Data Structures and Algorithms Symbolic Computation

Abstract

We consider the problem of computing the distance between two piecewise-linear bivariate functions ff and gg defined over a common domain MM. We focus on the distance induced by the L2L_2-norm, that is fg2=M(fg)2\|f-g\|_2=\sqrt{\iint_M (f-g)^2}. If ff is defined by linear interpolation over a triangulation of MM with nn triangles, while gg is defined over another such triangulation, the obvious na\"ive algorithm requires Θ(n2)\Theta(n^2) arithmetic operations to compute this distance. We show that it is possible to compute it in \O(nlog4n)\O(n\log^4 n) arithmetic operations, by reducing the problem to multi-point evaluation of a certain type of polynomials. We also present an application to terrain matching.

Keywords

Cite

@article{arxiv.1107.2312,
  title  = {Computing the Distance between Piecewise-Linear Bivariate Functions},
  author = {Guillaume Moroz and Boris Aronov},
  journal= {arXiv preprint arXiv:1107.2312},
  year   = {2011}
}
R2 v1 2026-06-21T18:35:36.241Z