The Cuik KD-Tree Library


vector.h
Go to the documentation of this file.
1 #ifndef POINTH
2 #define POINTH
3 
32 double VectorSquaredDistanceTopologyMin(double t2,unsigned int s,unsigned int *tp,
33  double *v1,double *v2);
34 
45 double VectorNorm(unsigned int s,double *v);
46 
55 void VectorNormalize(unsigned int s,double *v);
56 
57 #endif
void VectorNormalize(unsigned int s, double *v)
Normalizes a vector.
Definition: vector.c:58
double VectorSquaredDistanceTopologyMin(double t2, unsigned int s, unsigned int *tp, double *v1, double *v2)
Computes the squared distance of two points.
Definition: vector.c:17
double VectorNorm(unsigned int s, double *v)
Norm of a vector.
Definition: vector.c:45