The Complete SPRLIB & ANNLIB

euclidian_distance

- calculate the euclidian distance between two arrays of doubles

SYNOPSIS

double euclidian_distance (a, b, n)

ARGUMENTS

double *a An array of doubles, starting with index 0.
double *b An array of doubles, starting with index 0.
int n The number of elements in a and b.

RETURNS

The euclidian distance between a and b.

NOTE

This function is used in the Sammon mapping routines below.

SEE ALSO

sammon_init, sammon_stress, sammon_dstress

This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998