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

Matthieu Brucher matthieu.brucher@gmail....
Mon Dec 10 10:23:07 CST 2007


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

Matthieu

2007/12/10, Hans Meine <meine@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@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://projects.scipy.org/pipermail/numpy-discussion/attachments/20071210/4de7cd23/attachment.html 


More information about the Numpy-discussion mailing list