![]() |
Rosetta
3.7
|
inline function for computing f1/f2 derivatives for a function of an angle More...
#include <numeric/xyzVector.hh>
Namespaces | |
numeric | |
Unit headers. | |
numeric::deriv | |
Functions | |
template<class P > | |
void | numeric::deriv::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. This function returns the distance which should be used to evaluate dF_ddist. dF_ddist should then be multiplied into both f1 and f2. The values of the output variables f1 and f2 are overwritten. More... | |
inline function for computing f1/f2 derivatives for a function of an angle