#include "stdio.h"
#include "stdlib.h"
#include "mbs_tool.h"
#include "mbs_message.h"
#include "useful_functions.h"
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... | |
void free_mbs_ivector | ( | int * | v | ) |
DEPRECATED: See free_ivec_1().
release memory for a vector of integers, starting at index 1
[out] | v | a vector of doubles |
void free_mbs_matrix | ( | double ** | m, |
int | nr | ||
) |
DEPRECATED: See free_dmat_1().
release memory for a matrix of doubles, starting at index 1
[out] | m | matrix of doubles |
[in] | nr | number of rows (0 element not taken into account) |
void free_mbs_vector | ( | double * | v | ) |
DEPRECATED: See free_dvec_1().
release memory for a vector of doubles, starting at index 1
[out] | v | a vector of doubles |
int* mbs_ivector | ( | int | n | ) |
DEPRECATED: See get_ivec_1().
create (with memory allocation) a vector (length n) of integers, starting at index 1
[in] | n | size of the vector (0 element not taken into account) |
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
[in] | nr | number of rows (0 element not taken into account) |
[in] | nc | number of columns (0 element not taken into account) |
double* mbs_vector | ( | int | n | ) |
DEPRECATED: See get_dvec_1().
create (with memory allocation) a vector (length n) of doubles, starting at index 1
[in] | n | size of the vector (0 element not taken into account) |
void put_ivector | ( | int * | v, |
int | size, | ||
char * | name | ||
) |
void put_matrix | ( | double ** | m, |
int | nL, | ||
int | nC, | ||
char * | name | ||
) |
void put_vector | ( | double * | v, |
int | size, | ||
char * | name | ||
) |