int** imatrix(int nrl, int nrh, int ncl, int nch);
Allocate an int matrix with subscript range m[nrl..nrh][ncl..nch].
void free_imatrix(int** a, int nrl, int nrh, int ncl);
Deallocate an int matrix allocated with dmatrix.
Parameters:
a | Matrix to deallocate. |
---|---|
nrl | Low row index. |
nrh | High row index. |
ncl | Low column index. |
nch | High column index. |
Returns:
Integer matrix.
Header:
#include "matutils.h"