/* Copyright (C) 2007-2009, 2012 Romain Quey */
/* see the COPYING file in the top-level directory.*/
  
#ifdef __cplusplus
extern "C" {
#endif 

#ifndef UT_VECTOR_H
#define UT_VECTOR_H

extern double ut_vector_norm (double *);
extern double ut_vector_int_norm (int *);
extern double ut_vector_scalprod (double *, double *);
extern void   ut_vector_vectprod (double *, double *, double *);
extern double ut_vector_angle_rad (double *, double *);
extern double ut_vector_angle (double *, double *);
extern double ut_vector_angle_rad_2d (double *, double *);
extern double ut_vector_angle_2d (double *, double *);
extern double ut_vector_int_angle_rad (int *, int *);
extern double ut_vector_int_angle (int *, int *);
extern void   ut_vector_covar (double**, int, double**, double*);
extern void   ut_vector_uvect (double*, double*);

#endif /* UT_VECTOR_H */

#ifdef __cplusplus
}
#endif 
