cerr<<"invalid resize in 2d\n"; exit(1); } delete[] F; n1=ns1; n2=ns2; sz=n1*n2; F = new(nothrow) T[sz]; if( F == 0x0 ) { QDP_error_exit("Unable to new memory in multi2d::resize()\n");
cerr <<"invalid resize in 1d" << endl; exit(1); } delete [] F; n1=ns1; F = new(nothrow) T[n1]; if ( F == 0x0 ) { QDP_error_exit("Unable to allocate memory in multi1d::resize()\n");
  void resize(int ns2, int ns1) {    if(copymem) {       cerr<<"invalid resize in 2d\n";       exit(1);    }      delete[] F;     n1=ns1;     n2=ns2;      sz=n1*n2;     F = new(nothrow) T[sz];    if( F == 0x0 ) { 	QDP_error_exit("Unable to new memory in multi2d::resize()\n");    }  }