/* re-allocate a 1-d array */ void *erealloc1 (void *v, size_t n1, size_t size) { void *p; if (ERROR == (p=realloc1(v, n1, size))) syssuerr("%s: realloc failed", __FILE__); return p; }
/* re-allocate a 1-d array of complexs */ dcomplex *realloc1dcomplex(dcomplex *v, size_t n1) { return (dcomplex*)realloc1(v,n1,sizeof(dcomplex)); }
/* re-allocate a 1-d array of complexs */ complex *realloc1complex(complex *v, size_t n1) { return (complex*)realloc1(v,n1,sizeof(complex)); }
/* re-allocate a 1-d array of doubles */ double *realloc1double(double *v, size_t n1) { return (double*)realloc1(v,n1,sizeof(double)); }
/* re-allocate a 1-d array of floats */ float *realloc1float(float *v, size_t n1) { return (float*)realloc1(v,n1,sizeof(float)); }
/* re-allocate a 1-d array of ints */ int *realloc1int(int *v, size_t n1) { return (int*)realloc1(v,n1,sizeof(int)); }