minpos
From DavinciWiki
(Difference between revisions)
Line 20: | Line 20: | ||
0.000043186 | 0.000043186 | ||
− | dv> thm.minpos(a,ret | + | dv> thm.minpos(a,ret=1) |
Location: 58,471,1 | Location: 58,471,1 |
Revision as of 16:55, 4 March 2006
Contents: Description, Arguments, Usage, Examples, Related Functions Supported Under Version: >1.69 Current Davinci Version: 2.27 64-bit Safe: Yes
Description Find the position of the minimum value in an array
Arguments and Return Values Arguments: A numeric array Return Value: A structure containing the minimum value and position
Usage Syntax: thm.minpos(VAL, [ignore=VAL], [ret=BOOL]) 'ignore' - The value to ignore while searching for maximum value. 'ret' - Set to 1 will return a structure containing value and position data.
Examples dv> a 345x500x10 array of float, bsq format [6,900,000 bytes] dv> thm.minpos(a) Location: 58,471,1 0.000043186 dv> thm.minpos(a,ret=1) Location: 58,471,1 0.000043186 struct, 2 elements pos: 3x1x1 array of int, bsq format [12 bytes] val: 4.31861e-05 |
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Related Functions
Recent Core Changes Modified On: 07-06-2009 |