Sebastian Haase wrote:

>Hi again,
>I finally bought the numpy-book.
>Browsing through the 370 pages I found this:
>PyArray IsScalar (op, cls)
>Evaluates true if op is an instance of Py<cls>ArrType Type.
>
>Is this what I need to check for a given scalar type.
>  
>
Yes.   Remember that cls can be a "Generic Class" as well to test for 
Integers, Floats, etc.

-Travis

_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to