numarray equivalent to sign() function
![](https://secure.gravatar.com/avatar/56aa239045684fe6e94508d7b5e6e960.jpg?s=120&d=mm&r=g)
May 23, 2004
7:06 a.m.
Hi, I am in the process of converting some code from Numeric to numarray, and it seems that numarray no longer has the sign() function -- is that so? ex: sign(-30.0) = -1 sign(0) = 0 sign(1000) = 1 Is there a replacement? Thanks, Mike
7539
Age (days ago)
7573
Last active (days ago)
1 comments
2 participants
participants (2)
-
Mike Zingale
-
Scott David Daniels