math_utils_gsl.h
Go to the documentation of this file.
1 #ifndef H_MATH_UTILS_GSL
2 #define H_MATH_UTILS_GSL
3 
4 #include <gsl/gsl_math.h>
5 #include <egsl/egsl.h>
6 
7 #include "laser_data.h"
8 
9 #define gvg gsl_vector_get
10 #define gvs gsl_vector_set
11 
12 
13 /* GSL stuff */
14  const char* gsl_friendly_pose(gsl_vector*v);
15  gsl_vector * vector_from_array(unsigned int n, double *x);
16  void vector_to_array(const gsl_vector*v, double*);
17  void copy_from_array(gsl_vector*v, double*);
18 
19  void oplus(const gsl_vector*x1,const gsl_vector*x2, gsl_vector*res);
20  void ominus(const gsl_vector*x, gsl_vector*res);
21  void pose_diff(const gsl_vector*pose2,const gsl_vector*pose1,gsl_vector*res);
22 
23  void transform(const gsl_vector* point2d, const gsl_vector* pose, gsl_vector*result2d);
24  void gsl_vector_set_nan(gsl_vector*v);
25 
26  double distance(const gsl_vector* a,const gsl_vector* b);
27  double distance_squared(const gsl_vector* a,const gsl_vector* b);
28 
30  double norm(const gsl_vector*p);
31  const char* egsl_friendly_pose(val pose);
32  const char* egsl_friendly_cov(val cov);
33 
36 val ld_fisher0(LDP ld);
37 
38 
39 #endif
40 
41 
double distance_squared(const gsl_vector *a, const gsl_vector *b)
void copy_from_array(gsl_vector *v, double *)
void ominus(const gsl_vector *x, gsl_vector *res)
Definition: egsl.h:12
void pose_diff(const gsl_vector *pose2, const gsl_vector *pose1, gsl_vector *res)
const char * egsl_friendly_pose(val pose)
const char * gsl_friendly_pose(gsl_vector *v)
struct @0 p
void vector_to_array(const gsl_vector *v, double *)
gsl_vector * vector_from_array(unsigned int n, double *x)
void gsl_vector_set_nan(gsl_vector *v)
double norm(const gsl_vector *p)
void oplus(const gsl_vector *x1, const gsl_vector *x2, gsl_vector *res)
const char * egsl_friendly_cov(val cov)
void transform(const gsl_vector *point2d, const gsl_vector *pose, gsl_vector *result2d)
Definition: math_utils_gsl.c:3
double distance(const gsl_vector *a, const gsl_vector *b)
val ld_fisher0(LDP ld)


csm
Author(s): Andrea Censi
autogenerated on Tue May 11 2021 02:18:23