From: Zhang L. <zha...@gm...> - 2006-06-29 14:58:00
|
Hi, I'm using 0.9.8 and find numpy.ndarray.min() is not exported to global space when doing a from numpy import * In [1]: from numpy import * In [2]: help min ------> help(min) Help on built-in function min in module __builtin__: min(...) min(sequence) -> value min(a, b, c, ...) -> value With a single sequence argument, return its smallest item. With two or more arguments, return the smallest argument. Also numpy.ndarray.max() is not available too. But the built-in sum() is replaced by numpy.ndarray.sum() as expected. Is this a bug or just intended to do so and user has to use numpy.ndarray.min() explicitly? Cheers, Zhang Le |