16 #ifndef INCLUDED_numeric_deriv_distance_deriv_hh
17 #define INCLUDED_numeric_deriv_distance_deriv_hh
43 if ( distance !=
Real(0.0) ) {
Value length() const
Length.
xyzVector: Fast (x,y,z)-coordinate numeric vector
T distance(MathVector< T > const &VECTOR_A, MathVector< T > const &VECTOR_B)
xyzVector cross(xyzVector const &v) const
Cross product.
void distance_f1_f2_deriv(xyzVector< P > const &p1, xyzVector< P > const &p2, P &distance, xyzVector< P > &f1, xyzVector< P > &f2)
Compute the f1/f2 derivative vectors for point p1 for a function F of the distance between p1 and p2...
Fast (x,y,z)-coordinate numeric vector.