diff --git a/src/realtuple.hh b/src/realtuple.hh index a18c7ed9a48e5d4a50a80a114d14168d9fbc3bdf..e1b7f4de92b518fa2f23a4c554c38fcdbac58fbc 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