Rosetta Utilities  2014.35
Namespaces | Functions
calc_distance.hh File Reference

utility functions for kd-tree. See kdtree.hh for more information. More...

#include <numeric/types.hh>
#include <utility/vector1.hh>

Namespaces

 numeric
 Unit headers.
 
 numeric::kdtree
 

Functions

numeric::Real numeric::kdtree::sq_vec_distance (utility::vector1< numeric::Real > const &vec1, utility::vector1< numeric::Real > const &vec2)
 distance metrics for real-valued points More...
 
numeric::Real numeric::kdtree::vec_distance (utility::vector1< numeric::Real > const &vec1, utility::vector1< numeric::Real > const &vec2)
 Returns the Euclidean distance between the two points vec1 and vec2. More...
 

Detailed Description

utility functions for kd-tree. See kdtree.hh for more information.

Author
James Thompson