Go to the source code of this file.
Functions | |
gfloat ** | gpiv_matrix (long nr, long nc) |
void | gpiv_free_matrix (gfloat **m) |
gfloat ** | gpiv_matrix_index (const long nrl, const long nrh, const long ncl, const long nch) |
void | gpiv_free_matrix_index (gfloat **m, const long nrl, const long nrh, const long ncl, const long nch) |
guchar ** | gpiv_ucmatrix (const long nr, const long nc) |
void | gpiv_free_ucmatrix (guchar **m) |
guint8 ** | gpiv_matrix_guint8 (const long nr, const long nc) |
void | gpiv_free_matrix_guint8 (guint8 **m) |
guint16 ** | gpiv_matrix_guint16 (const long nr, const long nc) |
void | gpiv_free_matrix_guint16 (guint16 **m) |
gint ** | gpiv_imatrix_index (const long nrl, const long nrh, const long ncl, const long nch) |
void | gpiv_free_imatrix_index (gint **m, const long nrl, const long nrh, const long ncl, const long nch) |
gint ** | gpiv_imatrix (const long nr, const long nc) |
void | gpiv_free_imatrix (gint **m) |
double ** | gpiv_double_matrix (const glong nr, const glong nc) |
void | gpiv_free_double_matrix (double **m) |
fftw_real ** | gpiv_fftw_real_matrix (glong nr, glong nc) |
void | gpiv_free_fftw_real_matrix (fftw_real **m) |
fftw_complex ** | gpiv_fftw_complex_matrix (const long nr, const long nc) |
void | gpiv_free_fftw_complex_matrix (fftw_complex **m) |
gfloat * | gpiv_vector (const long nl) |
void | gpiv_free_vector (gfloat *vector) |
gfloat * | gpiv_vector_index (const long nl, const long nh) |
void | gpiv_free_vector_index (gfloat *vector, const long nl, const long nh) |
gdouble * | gpiv_dvector (const glong nl) |
void | gpiv_free_dvector (gdouble *vector) |
gdouble * | gpiv_dvector_index (const long nl, const long nh) |
void | gpiv_free_dvector_index (gdouble *vector, const long nl, const long nh) |
long * | gpiv_nulvector (long nl) |
void | gpiv_free_nulvector (long *vector) |
long * | gpiv_nulvector_index (const long nl, const long nh) |
void | gpiv_free_nulvector_index (long *vector, const long nl, const long nh) |
unsigned long * | gpiv_ulvector (const long nl) |
void | gpiv_free_ulvector (unsigned long *vector) |
unsigned long * | gpiv_ulvector_index (const long nl, const long nh) |
void | gpiv_free_ulvector_index (unsigned long *vector, const long nl, const long nh) |
gint * | gpiv_ivector (const long nl) |
void | gpiv_free_ivector (gint *vector) |
gint * | gpiv_ivector_index (const long nl, const long nh) |
void | gpiv_free_ivector_index (gint *vector, const long nl, const long nh) |
gboolean * | gpiv_gbolvector (const glong nl) |
void | gpiv_free_gbolvector (gboolean *vector) |
SOURCES: lib/utils_alloc.c
LAST MODIFICATION DATE:
Definition in file gpiv-utils_alloc.h.
double** gpiv_double_matrix | ( | const glong | nr, | |
const glong | nc | |||
) |
Allocates a contiguous 2-dimensional double matrix of nr x nc
[in] | nr | number of rows |
[in] | nc | number of columns |
gdouble* gpiv_dvector | ( | const glong | nl | ) |
Allocates memory for a 1-dimensional vector of gdouble data
[in] | nl | vector length |
gdouble* gpiv_dvector_index | ( | const long | nl, | |
const long | nh | |||
) |
Allocates memory for a 1-dimensional vector of double data with subscript range v[nl..nh]
[in] | nl | lowest index number |
[in] | nh | highest index number |
fftw_complex** gpiv_fftw_complex_matrix | ( | const long | nr, | |
const long | nc | |||
) |
Allocates a contiguous 2-dimensional fftw_complex matrix of nr x nc
[in] | nr | number of rows |
[in] | nc | number of columns |
fftw_real** gpiv_fftw_real_matrix | ( | glong | nr, | |
glong | nc | |||
) |
Allocates a contiguous 2-dimensional fftw_real_matrix matrix of nr x nc
[in] | nr | number of rows |
[in] | nc | number of columns |
void gpiv_free_double_matrix | ( | double ** | m | ) |
void gpiv_free_dvector | ( | gdouble * | vector | ) |
Frees memory for a 1-dimensional vector of double data
[in] | vector | vector of 1-dimensional gfloat data |
void gpiv_free_dvector_index | ( | gdouble * | vector, | |
const long | nl, | |||
const long | nh | |||
) |
Frees memory for a 1-dimensional vector of double data with subscript range v[nrl..nrh][ncl..nch]
[in] | vector | vector of 1-dimensional gfloat data |
[in] | nl | lowest index number |
[in] | nh | highest index number |
void gpiv_free_fftw_complex_matrix | ( | fftw_complex ** | m | ) |
Frees a fftw_real matrix allocated by gpiv_fftw_complex_matrix()
[in] | m | matrix |
void gpiv_free_fftw_real_matrix | ( | fftw_real ** | m | ) |
Frees a gdouble matrix allocated by gpiv_fftw_real_matrix_matrix()
[in] | m | matrix |
void gpiv_free_gbolvector | ( | gboolean * | vector | ) |
Frees memory for a 1-dimensional vector of gboolean data
[in] | vector | vector of 1-dimensional boolean data |
void gpiv_free_imatrix | ( | gint ** | m | ) |
Frees memory for 2-dimensional array of integer data unappreciated, use gpiv_free_imatrix_index instead
[in] | m | matrix |
void gpiv_free_imatrix_index | ( | gint ** | m, | |
const long | nrl, | |||
const long | nrh, | |||
const long | ncl, | |||
const long | nch | |||
) |
Frees memory for 2-dimensional array of integer data with subscript range v[nrl..nrh][ncl..nch]
[in] | m | matrix |
[in] | nrl | lowest row index number |
[in] | nrh | highest row index number |
[in] | ncl | lowest column index number |
[in] | nch | highest column index number |
void gpiv_free_ivector | ( | gint * | vector | ) |
Frees memory for a 1-dimensional vector of integer data
[in] | vector | vector of 1-dimensional gfloat data |
void gpiv_free_ivector_index | ( | gint * | vector, | |
const long | nl, | |||
const long | nh | |||
) |
Frees memory for a 1-dimensional vector of integer data with subscript range v[nrl..nrh][ncl..nch]
[in] | vector | vector of 1-dimensional gfloat data |
[in] | nl | lowest index number |
[in] | nh | highest index number |
void gpiv_free_matrix | ( | gfloat ** | m | ) |
Frees memory for 2-dimensional array of gfloat data
[in] | m | matrix |
void gpiv_free_matrix_guint16 | ( | guint16 ** | m | ) |
Frees a guint16 matrix allocated by gpiv_matrix_guint16
[in] | m | matrix |
void gpiv_free_matrix_guint8 | ( | guint8 ** | m | ) |
Frees a guint8 matrix allocated by gpiv_matrix_guint8
[in] | m | matrix |
void gpiv_free_matrix_index | ( | gfloat ** | m, | |
const long | nrl, | |||
const long | nrh, | |||
const long | ncl, | |||
const long | nch | |||
) |
Frees memory for 2-dimensional array of gfloat data with subscript range v[nrl..nrh][ncl..nch]
[in] | m | matrix |
[in] | nrl | lowest row index number |
[in] | nrh | highest row index number |
[in] | ncl | lowest column index number |
[in] | nch | highest column index number |
void gpiv_free_nulvector | ( | long * | vector | ) |
Frees memory for a 1-dimensional vector of long data
[in] | vector | vector of 1-dimensional gfloat data |
void gpiv_free_nulvector_index | ( | long * | vector, | |
const long | nl, | |||
const long | nh | |||
) |
Frees memory for a 1-dimensional vector of long data with subscript range v[nrl..nrh][ncl..nch]
[in] | vector | vector of 1-dimensional gfloat data |
[in] | nl | lowest index number |
[in] | nh | highest index number |
void gpiv_free_ucmatrix | ( | guchar ** | m | ) |
Frees memory for 2-dimensional array of guchar data
[in] | m | matrix |
void gpiv_free_ulvector | ( | unsigned long * | vector | ) |
Frees memory for a 1-dimensional vector of unsigned long data
[in] | vector | vector of 1-dimensional gfloat data |
void gpiv_free_ulvector_index | ( | unsigned long * | vector, | |
const long | nl, | |||
const long | nh | |||
) |
Frees memory for a 1-dimensional vector of unsigned long data with subscript range v[nrl..nrh][ncl..nch]
[in] | vector | vector of 1-dimensional gfloat data |
[in] | nl | lowest index number |
[in] | nh | highest index number |
void gpiv_free_vector | ( | gfloat * | vector | ) |
Frees memory for a 1-dimensional vector of gfloat data
[in] | vector | vector of 1-dimensional gfloat data |
void gpiv_free_vector_index | ( | gfloat * | vector, | |
const long | nl, | |||
const long | nh | |||
) |
Frees memory for a 1-dimensional vector of gfloat data with subscript range v[nrl..nrh][ncl..nch]
[in] | vector | vector of 1-dimensional gfloat data |
[in] | nl | lowest index number |
[in] | nh | highest index number |
gboolean* gpiv_gbolvector | ( | const glong | nl | ) |
Allocates memory for a 1-dimensional vector of gboolean data
[in] | nl | vector length |
gint** gpiv_imatrix | ( | const long | nr, | |
const long | nc | |||
) |
Allocates memory for 2-dimensional matrix of integer data depreciated, use gpiv_imatrix_index instead
[in] | nr | number of rows |
[in] | nc | number of columns |
gint** gpiv_imatrix_index | ( | const long | nrl, | |
const long | nrh, | |||
const long | ncl, | |||
const long | nch | |||
) |
Allocates memory for 2-dimensional matrix of integer data with subscript range v[nrl..nrh][ncl..nch]
[in] | nrl | lowest row index number |
[in] | nrh | highest row index number |
[in] | ncl | lowest column index number |
[in] | nch | highest column index number |
gint* gpiv_ivector | ( | const long | nl | ) |
Allocates memory for a 1-dimensional vector of integer data
[in] | nl | vector length |
gint* gpiv_ivector_index | ( | const long | nl, | |
const long | nh | |||
) |
Allocates memory for a 1-dimensional vector of integer data with subscript range v[nl..nh]
[in] | nl | lowest index number |
[in] | nh | highest index number |
gfloat** gpiv_matrix | ( | long | nr, | |
long | nc | |||
) |
Allocates memory for 2-dimensional matrix of gfloat data
[in] | nr | number of rows |
[in] | nc | number of columns |
guint16** gpiv_matrix_guint16 | ( | const long | nr, | |
const long | nc | |||
) |
Allocates a guint16 matrix with subscript range m[0..nr][0..nc]
[in] | nr | number of rows |
[in] | nc | number of columns |
guint8** gpiv_matrix_guint8 | ( | const long | nr, | |
const long | nc | |||
) |
Allocates a guint8 matrix with subscript range m[0..nr][0..nc]
[in] | nr | number of rows |
[in] | nc | number of columns |
gfloat** gpiv_matrix_index | ( | const long | nrl, | |
const long | nrh, | |||
const long | ncl, | |||
const long | nch | |||
) |
Allocates memory for 2-dimensional matrix of gfloat data with subscript range v[nrl..nrh][ncl..nch]
[in] | nrl | lowest row index number |
[in] | nrh | highest row index number |
[in] | ncl | lowest column index number |
[in] | nch | highest column index number |
long* gpiv_nulvector | ( | long | nl | ) |
Allocates memory for a 1-dimensional vector of long data
[in] | nl | vector length |
long* gpiv_nulvector_index | ( | const long | nl, | |
const long | nh | |||
) |
Allocates memory for a 1-dimensional vector of long data with subscript range v[nl..nh]
[in] | nl | lowest index number |
[in] | nh | highest index number |
guchar** gpiv_ucmatrix | ( | const long | nr, | |
const long | nc | |||
) |
Allocates memory for 2-dimensional matrix of guchar data
[in] | nr | row index |
[in] | nc | column index |
unsigned long* gpiv_ulvector | ( | const long | nl | ) |
Allocates memory for a 1-dimensional vector of unsigned long data
[in] | nl | vector length |
unsigned long* gpiv_ulvector_index | ( | const long | nl, | |
const long | nh | |||
) |
Allocates memory for a 1-dimensional vector of unsigned long data with subscript range v[nl..nh]
[in] | nl | lowest index number |
[in] | nh | highest index number |
gfloat* gpiv_vector | ( | const long | nl | ) |
Allocates memory for a 1-dimensional vector of gfloat data
[in] | nl | vector length |
gfloat* gpiv_vector_index | ( | const long | nl, | |
const long | nh | |||
) |
Allocates memory for a 1-dimensional vector of gfloat data with subscript range v[nl..nh]
[in] | nl | lowest index number |
[in] | nh | highest index number |