math/
minfinite.pro
top source minfinite
Math
result = minfinite(x [, index])
Calculate the minimum non-zero value of an array.
Return value
A scalar containing the minimum non-zero value of X. If there are none, returns 0.
Parameters
- x in
Array
- index optional
The index of the minimum value.
Examples
IDL> a = [1, 0, 2]
IDL> print, MINFINITE(a, i)
1
IDL> print, i
0
Author information
- History:
Written by: Jeremy Bailin 17 May 2011 Initial writing
File attributes
| Modification date: | Tue May 17 16:10:23 2011 |
| Lines: | 45 |
![[attach.png]](../idldoc-resources/attach.png)