int** ivector(int nl, int nh);
Allocate an int vector with subscript range v[nl..nh].
void free_ivector(int* v, int nl);
Deallocate an int vector allocated with dvector.
Parameters:
v | Vector to deallocate. |
---|---|
nl | Low element index. |
nh | High element index. |
Returns:
Integer vector.
Header:
#include "vecutils.h"