/* method: reshape(size1,size2,...,sizeN) */ static VALUE na_reshape_ref(int argc, VALUE *argv, VALUE self) { struct NARRAY *ary; GetNArray(self,ary); ary = na_ref_alloc_struct(self); na_reshape(argc, argv, ary, self); return na_wrap_struct(ary,self); }