Robotran C Documentation
mbs_tool.h
Go to the documentation of this file.
1 //---------------------------
2 // UCL-CEREM-MBS
3 //
4 // @version MBsysLab_s 1.7.a
5 //
6 // Creation : 2006
7 // Last update : 01/10/2008
8 //---------------------------
9 
10 #ifndef mbs_mxtool_h
11 #define mbs_mxtool_h
12 /*--------------------*/
13 
14 void put_vector(double *v, int size, char *name);
15 
16 void put_ivector(int *v, int size, char *name);
17 
18 void put_matrix(double **m, int nL, int nC, char *name);
19 
27 double *mbs_vector(int n);
34 void free_mbs_vector(double *v);
35 
43 int *mbs_ivector(int n);
50 void free_mbs_ivector(int *v);
51 
60 double **mbs_matrix(int nr, int nc);
68 void free_mbs_matrix(double **m, int nr);
69 
70 
71 /*--------------------*/
72 #endif
put_vector
void put_vector(double *v, int size, char *name)
Definition: mbs_tool.c:18
mbs_vector
double * mbs_vector(int n)
DEPRECATED: See get_dvec_1().
Definition: mbs_tool.c:74
useful_functions.h
free_mbs_ivector
void free_mbs_ivector(int *v)
DEPRECATED: See free_ivec_1().
Definition: mbs_tool.c:92
free_mbs_matrix
void free_mbs_matrix(double **m, int nr)
DEPRECATED: See free_dmat_1().
Definition: mbs_tool.c:104
mbs_matrix
double ** mbs_matrix(int nr, int nc)
DEPRECATED: See get_dmat_1().
Definition: mbs_tool.c:98
mbs_ivector
int * mbs_ivector(int n)
DEPRECATED: See get_ivec_1().
Definition: mbs_tool.c:86
free_mbs_ivector
void free_mbs_ivector(int *v)
DEPRECATED: See free_ivec_1().
Definition: mbs_tool.c:92
get_ivec_1
int * get_ivec_1(int l_v)
create (with memory allocation) a vector (length l_v) of integers, starting at index 1
Definition: mbs_1D_array.c:404
mbs_msg
void mbs_msg(char *msg,...)
Send a message.
Definition: mbs_message.c:76
mbs_matrix
double ** mbs_matrix(int nr, int nc)
DEPRECATED: See get_dmat_1().
Definition: mbs_tool.c:98
mbs_tool.h
put_ivector
void put_ivector(int *v, int size, char *name)
Definition: mbs_tool.c:35
put_matrix
void put_matrix(double **m, int nL, int nC, char *name)
Definition: mbs_tool.c:52
free_dvec_1
void free_dvec_1(double *vec)
release memory for a vector of doubles, starting at index 1
Definition: mbs_1D_array.c:901
free_mbs_vector
void free_mbs_vector(double *v)
DEPRECATED: See free_dvec_1().
Definition: mbs_tool.c:80
mbs_ivector
int * mbs_ivector(int n)
DEPRECATED: See get_ivec_1().
Definition: mbs_tool.c:86
mbs_message.h
mbs_vector
double * mbs_vector(int n)
DEPRECATED: See get_dvec_1().
Definition: mbs_tool.c:74
free_mbs_matrix
void free_mbs_matrix(double **m, int nr)
DEPRECATED: See free_dmat_1().
Definition: mbs_tool.c:104
put_ivector
void put_ivector(int *v, int size, char *name)
Definition: mbs_tool.c:35
put_matrix
void put_matrix(double **m, int nL, int nC, char *name)
Definition: mbs_tool.c:52
free_ivec_1
void free_ivec_1(int *vec)
release memory for a vector of integers, starting with index 1
Definition: mbs_1D_array.c:420
free_mbs_vector
void free_mbs_vector(double *v)
DEPRECATED: See free_dvec_1().
Definition: mbs_tool.c:80
get_dvec_1
double * get_dvec_1(int l_v)
create (with memory allocation) a vector (length l_v) of doubles, starting at index 1
Definition: mbs_1D_array.c:885
put_vector
void put_vector(double *v, int size, char *name)
Definition: mbs_tool.c:18
free_dmat_1
void free_dmat_1(double **mat)
release memory for a matrix of doubles, starting at index 1
Definition: mbs_matrix.c:301
get_dmat_1
double ** get_dmat_1(int nb_r, int nb_c)
create (with memory allocation) a [nb_r times nb_c] matrix of doubles, starting at index 1
Definition: mbs_matrix.c:255