lemmingapex / trilateration

Solves a formulation of n-D space trilateration problem using a nonlinear least squares optimizer
MIT License
398 stars 106 forks source link

which is better for residuals define? #26

Open dingli2005 opened 5 years ago

dingli2005 commented 5 years ago

in TrilaterationFunction , the value function calculate residuals. it use d^2-r^2 as residuals resultPoint[i] -= (this.getDistances()[i]) * (this.getDistances()[i]);

we also can use (d-r) as residuals

which is better ? @lemmingapex