|
gstlearn
1.0.0
CCC
|
Functions | |
| double | manhattan_dist (const double *x1, const double *x2, int size) |
| double | euclidean_dist (const double *x1, const double *x2, int size) |
| double euclidean_dist | ( | const double * | x1, |
| const double * | x2, | ||
| int | size | ||
| ) |
Returns the Standard distance between two points
| x1 | Vector of coordinates for the first point |
| x2 | Vector of coordinates for the second point |
| size | Number of coordinates |
| double manhattan_dist | ( | const double * | x1, |
| const double * | x2, | ||
| int | size | ||
| ) |
Returns the Manhattan distance between two points
| x1 | Vector of coordinates for the first point |
| x2 | Vector of coordinates for the second point |
| size | Number of coordinates |