./
bl_sign.pro
topbl_sign
result = bl_sign(x)
Return 1, 0, -1 for pos, zero, neg
Return value
output byte array of same dims as input
Parameters
- x in required
input array or scalar
Examples
IDL> print, sign(findgen(10)-4)
-1 -1 -1 -1 0 1 1 1 1 1
Author information
- History:
Fri Jun 13 12:48:51 2008, Brian Larsen written and tested
Statistics
| Lines: | 4 |
| McCabe complexity: |
File attributes
| Modifcation date: | Tue Oct 28 09:26:14 2008 |
| Lines: | 32 |
![[attach.png]](idldoc-resources/attach.png)