RESHAPE Purpose
This function is a wrapper to the builtin REFORM procedure. It
reforms an array to match the shape of template array.
Inputs
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
Outputs
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