>  Docs Center  >  Libraries  >  Beaumont  >  RESHAPE




  This function is a wrapper to the builtin REFORM procedure. It
  reforms an array to match the shape of template array.


  array: The array to reshape. Can be any dimension.
  template: The array whose shape you wish to match

Keyword Parameters

  over: If set, array is overwritten on output. This can save
        significant time and memory with lines like
        'a = reshape(a, template, /over)' if a is large


  A reformed version of array whose shape matches that of template.

Side Effects

  The structure of array is changed if /over is set

Modification History

  April 2010: Written by Chris Beaumont

© 2022 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us