Robotran C Documentation
Functions
mbs_tool.h File Reference

Go to the source code of this file.

Functions

void put_vector (double *v, int size, char *name)
 
void put_ivector (int *v, int size, char *name)
 
void put_matrix (double **m, int nL, int nC, char *name)
 
double * mbs_vector (int n)
 DEPRECATED: See get_dvec_1(). More...
 
void free_mbs_vector (double *v)
 DEPRECATED: See free_dvec_1(). More...
 
int * mbs_ivector (int n)
 DEPRECATED: See get_ivec_1(). More...
 
void free_mbs_ivector (int *v)
 DEPRECATED: See free_ivec_1(). More...
 
double ** mbs_matrix (int nr, int nc)
 DEPRECATED: See get_dmat_1(). More...
 
void free_mbs_matrix (double **m, int nr)
 DEPRECATED: See free_dmat_1(). More...
 

Function Documentation

◆ free_mbs_ivector()

void free_mbs_ivector ( int *  v)

DEPRECATED: See free_ivec_1().

release memory for a vector of integers, starting at index 1

Parameters
[out]va vector of doubles

◆ free_mbs_matrix()

void free_mbs_matrix ( double **  m,
int  nr 
)

DEPRECATED: See free_dmat_1().

release memory for a matrix of doubles, starting at index 1

Parameters
[out]mmatrix of doubles
[in]nrnumber of rows (0 element not taken into account)

◆ free_mbs_vector()

void free_mbs_vector ( double *  v)

DEPRECATED: See free_dvec_1().

release memory for a vector of doubles, starting at index 1

Parameters
[out]va vector of doubles

◆ mbs_ivector()

int* mbs_ivector ( int  n)

DEPRECATED: See get_ivec_1().

create (with memory allocation) a vector (length n) of integers, starting at index 1

Parameters
[in]nsize of the vector (0 element not taken into account)
Returns
requested vector (element 0 receives n: the size without this element)

◆ mbs_matrix()

double** mbs_matrix ( int  nr,
int  nc 
)

DEPRECATED: See get_dmat_1().

create (with memory allocation) a [nr times nc] matrix of doubles, starting at index 1

Parameters
[in]nrnumber of rows (0 element not taken into account)
[in]ncnumber of columns (0 element not taken into account)
Returns
requested matrix of doubles

◆ mbs_vector()

double* mbs_vector ( int  n)

DEPRECATED: See get_dvec_1().

create (with memory allocation) a vector (length n) of doubles, starting at index 1

Parameters
[in]nsize of the vector (0 element not taken into account)
Returns
requested vector (element 0 receives n: the size without this element)

◆ put_ivector()

void put_ivector ( int *  v,
int  size,
char *  name 
)

◆ put_matrix()

void put_matrix ( double **  m,
int  nL,
int  nC,
char *  name 
)

◆ put_vector()

void put_vector ( double *  v,
int  size,
char *  name 
)