def testFastclip(self): print "testing fastclip" A = arange(0, 10, 1, Float) B = clip(A, 3, 5) NE.fastclip(A, 3, 5) assert alltrue(A == B), "fastclip and clip gave different answers"
def testFastclip(self): print "testing fastclip" A = arange(0,10,1,Float) B = clip(A, 3, 5) NE.fastclip(A, 3, 5) assert alltrue(A == B), "fastclip and clip gave different answers"