Can we do type conversion from True to 1, and False to 0? Met this problem when doing multiplication of a indicator function of a vector. Thanks!