• Mark Lodato's avatar
    numpy.pxd: add NPY_UINT64 and family · 97d7ad39
    Mark Lodato authored
    This provides a fast way to check to see the data type of an ndarray.
    For example, to check to see if an integer is 64 bits:
    
        PyArray_TYPE(a) == NPY_UINT64 or PyArray_TYPE(a) == NPY_INT64
    97d7ad39
numpy.pxd 34.3 KB