Pointer Array Function In Numpy