Rosetta 3.3
Namespaces | Functions
src/numeric/kdtree/calc_distance.cc File Reference
#include <numeric/types.hh>
#include <utility/vector1.hh>
#include <cmath>
#include <iostream>

Namespaces

namespace  numeric
 

A 1D histogram based upon a map structure.


namespace  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
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.

Detailed Description

Author:
James Thompson
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines