In this pull request, I also added several APIs for NumPy arrays. First, there are "pack" and "unpack" API that can pack and unpack a NumPy array to another NumPy array given the input and output data type. Second, you can cast a NumPy array to another one by specifying a HeteroCL data type. Thus, fixed-point casting is also viable.
Also fixed other minor bugs in GetSlice and SetSlice operations.
In this pull request, I also added several APIs for NumPy arrays. First, there are "pack" and "unpack" API that can pack and unpack a NumPy array to another NumPy array given the input and output data type. Second, you can cast a NumPy array to another one by specifying a HeteroCL data type. Thus, fixed-point casting is also viable.
Also fixed other minor bugs in GetSlice and SetSlice operations.