[Numpy-discussion] Minimum and maximum values of numpy datatypes?

Matthieu Brucher matthieu.brucher at gmail.com
Mon Dec 10 11:23:07 EST 2007


I had the same problem sooner today, someone told me the answer : use
numpy.info object ;)

Matthieu

2007/12/10, Hans Meine <meine at informatik.uni-hamburg.de>:
>
> Hi!
>
> Is there a way to query the minimum and maximum values of the numpy
> datatypes?
>
> E.g. numpy.uint8.max == 255, numpy.uint8.min == 0 (these attributes exist,
> but
> they are functions, obviously for technical reasons).
>
> Ciao, /  /
>      /--/
>     /  / ANS
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>



-- 
French PhD student
Website : http://matthieu-brucher.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn : http://www.linkedin.com/in/matthieubrucher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20071210/4de7cd23/attachment.html>


More information about the NumPy-Discussion mailing list