From 2b6bdd3fa7d5ea1b930f9620b55d7e9aae6e835f Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Tue, 23 Mar 2010 09:37:32 +0000 Subject: [PATCH] remove method derivativeOfDistance (not squared). It is not used anymore [[Imported from SVN: r5791]] --- src/realtuple.hh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/realtuple.hh b/src/realtuple.hh index a18c7ed9..e1b7f4de 100644 --- a/src/realtuple.hh +++ b/src/realtuple.hh @@ -58,13 +58,6 @@ public: return (a.data_ - b.data_).two_norm(); } - /** \brief Compute the gradient of the distance function keeping the first argument fixed - */ - static EmbeddedTangentVector derivativeOfDistanceWRTSecondArgument(const RealTuple& a, const RealTuple& b) { - EmbeddedTangentVector gradient = a.data_ - b.data_; - return -gradient/distance(a,b); - } - /** \brief Compute the gradient of the squared distance function keeping the first argument fixed Unlike the distance itself the squared distance is differentiable at zero -- GitLab