./
reshape.pro
Routines
result = reshape(array, template [, over=over])This function is a wrapper to the builtin REFORM procedure.
test
Routine details
topreshape
result = reshape(array, template [, over=over])
This function is a wrapper to the builtin REFORM procedure. It reforms an array to match the shape of template array.
The structure of array is changed if /over is set
MODIFICATION HISTORY April 2010: Written by Chris Beaumont
Return value
A reformed version of array whose shape matches that of template.
Parameters
- array in required
The array to reshape. Can be any dimension.
- template in required
The array whose shape you wish to match
Keywords
- over in optional
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
toptest
test
File attributes
| Modifcation date: | Mon Apr 12 21:09:30 2010 |
| Lines: | 114 |
![[attach.png]](idldoc-resources/attach.png)