aprsa / ndpolator

fast, n-dimensional linear interpolation and extrapolation on sparse grids

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Distance from the fully defined hypercube inadequate

aprsa opened this issue · comments

The distance to the nearest fully defined hypercube is not correctly computed -- the code currently computes the distance to the superior vertex, which is not adequate: a query point can be right next to the inferior fdhc vertex but still use a fdhc that has the superior vertex closer to it. Thus, distance computation needs to test all vertices/hyperfaces, not just the superior vertex.