TRIMRANK
Name
trimrank
Purpose (one Line Only)
Remove dimensions of 1 thus returning the lowest possible rank for input
Description
Category
Miscellaneous
Calling Sequence
retval = trimrank(input)
Inputs
input = variable of any type or rank
Optional Input Parameters
Keyword Input Parameters
OVERWRITE - Change is made in place (see reform.pro documentation)
Outputs
return value is the input with all dimensions of no size removed. This
is nearly identical to the IDL routine, reform when called with no
arguments. The one difference this routine offers is it will convert a
one element vector to a scalar.
Keyword Output Parameters
Common Blocks
Side Effects
Restrictions
Procedure
Modification History
Written by Marc W. Buie, Southwest Research Institute, 2009/11/12