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