topcmapply
Array
Return value
An array of the required TYPE, whose elements are the result of
the requested operation. Depending on the operation and number of
elements in the input array, the result may be vulnerable to
overflow or underflow.
Parameters
op
in
required
type: string
array
in
required
type: array
dimapply
in
optional
type: array
default: 1 (ie, first dimension)
Keywords
DOUBLE
default: not set
TYPE
default: same as input type
FUNCTARGS
NOCATCH
Examples
Version history
Version
$Id: cmapply.pro 325 2007-12-06 10:04:53Z pinsard $
History
Mar 1998, Written, CM
Changed usage message to not bomb, 24 Mar 2000, CM
Significant rewrite for *, MIN and MAX (inspired by Todd Clements
); FOR loop indices are now type
LONG; copying terms are liberalized, CM, 22, Aug 2000
More efficient MAX/MIN (inspired by Alex Schuster), CM, 25 Jan
2002
Make new MAX/MIN actually work with 3d arrays, CM, 08 Feb 2002
Add user-defined functions, ON_ERROR, CM, 09 Feb 2002
Correct bug in MAX/MIN initialization of RESULT, CM, 05 Dec 2002
Author: Craig B. Markwardt, NASA/GSFC Code 662, Greenbelt, MD 20770
craigm@lheamail.gsfc.nasa.gov
Statistics
McCabe cyclic | 36 |
McCabe essential | 1 |
McCabe modular design | 1 |