|
Reshaping Arraysreshape, x, type_name, dimlist masks shape of x Don't try to use this unless (1) you're an expert, and (2) you're desperate. It is intended mainly for recovering from misfeatures of other programs, although there are a few legitimate uses within Yorick. In case you want to change the dimensions of an array but conserve the data use the following: new=array(0.,dim1,dim2)
this copies the data of array old into array new but preserves the dimensions of the array new. |