Bioplib
Protein Structure C Library
|
Include file for 2D/3D array functions. More...
#include "deprecated.h"
Go to the source code of this file.
Macros | |
#define | _ARRAY_H_DEPRECATED |
Functions | |
char ** | blArray2D (int size, int dim1, int dim2) |
void | blFreeArray2D (char **array, int dim1, int dim2) |
char *** | blArray3D (int size, int dim1, int dim2, int dim3) |
void | blFreeArray3D (char ***array, int dim1, int dim2, int dim3) |
Include file for 2D/3D array functions.
This code is NOT IN THE PUBLIC DOMAIN, but it may be copied according to the conditions laid out in the accompanying file COPYING.DOC.
The code may be modified as required, but any modifications must be documented so that the person responsible can be identified.
The code may not be sold commercially or included as part of a commercial product except as described in the file COPYING.DOC.
Definition in file array.h.
char** blArray2D | ( | int | size, |
int | dim1, | ||
int | dim2 | ||
) |
[in] | size | Size of an array element |
[in] | dim1 | First dimension (number of rows) |
[in] | dim2 | Second dimension (number of columns) |
Create a 2D array of elements of size `size' with dimensions `dim1' rows by `dim2' columns.
char*** blArray3D | ( | int | size, |
int | dim1, | ||
int | dim2, | ||
int | dim3 | ||
) |
[in] | size | Size of an array element |
[in] | dim1 | First dimension (number of rows) |
[in] | dim2 | Second dimension (number of columns) |
[in] | dim3 | Third dimension (number of planes) |
Create a 3D array of elements of size `size' with dimensions `dim1' rows by `dim2' columns by `dim3' planes
void blFreeArray2D | ( | char ** | array, |
int | dim1, | ||
int | dim2 | ||
) |
[in] | array | Array of pointers to be freed |
[in] | dim1 | First dimension (number of rows) |
[in] | dim2 | Second dimension (number of columns) |
Frees a 2D array with dimensions `dim1' rows by `dim2' columns.
void blFreeArray3D | ( | char *** | array, |
int | dim1, | ||
int | dim2, | ||
int | dim3 | ||
) |
[in] | array | Array of pointers to be freed |
[in] | dim1 | First dimension (number of rows) |
[in] | dim2 | Second dimension (number of columns) |
[in] | dim3 | Third dimension (number of planes) |
Frees a 3D array with dimensions `dim1' rows by `dim2' columns by `dim3' planes.