Euclidean distance.
More...
#include <Euclidean.h>
|
T | compute (const vector< T > &, const vector< T > &) |
| Computes the Euclidean distance between the two vectors. More...
|
|
template<typename T>
class Euclidean< T >
Euclidean distance.
- Template Parameters
-
◆ compute()
template<typename T >
T Euclidean< T >::compute |
( |
const vector< T > & |
ind1, |
|
|
const vector< T > & |
ind2 |
|
) |
| |
|
virtual |
Computes the Euclidean distance between the two vectors.
- Template Parameters
-
- Parameters
-
- Returns
- T
Implements Distance< T >.
The documentation for this class was generated from the following file: