SLIP  1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
slip::L2_dist_vect< Vector > Struct Template Reference

Computes the L2 distance between two Vectors x and y: $ \sqrt{\sum_i (x_i - y_i)^2}$. More...

#include <compare.hpp>

Inheritance diagram for slip::L2_dist_vect< Vector >:
Inheritance graph

Public Member Functions

Vector::value_type operator() (const Vector &x, const Vector &y) const
 

Detailed Description

template<typename Vector>
struct slip::L2_dist_vect< Vector >

Computes the L2 distance between two Vectors x and y: $ \sqrt{\sum_i (x_i - y_i)^2}$.

Author
Benoit Tremblais <tremblais_AT_sic.univ-poitiers.fr>
Date
2009/03/30
Since
1.0.0
Version
0.0.1
Parameters
xx value.
yy value.
Returns
$ \sqrt{\sum_i (x_i - y_i)^2}$

Definition at line 2578 of file compare.hpp.

Member Function Documentation

template<typename Vector >
Vector::value_type slip::L2_dist_vect< Vector >::operator() ( const Vector x,
const Vector y 
) const
inline

Definition at line 2581 of file compare.hpp.


The documentation for this struct was generated from the following file: