Chan-Sing-Hong
Results
3
comments of
Chan-Sing-Hong
Yes, but we might need a `sign` function that provides the following functionality: For example: ```` A = cytnx.UniTensor( cytnx.from_numpy( numpy.array( [[0, -1], [2, -3]] )), rowrank=1) cytnx.sign(A) ```` should...
Maybe we can have an option to choose whether sign(0)=0 or sign(0)=1.
Yes, that is one way to do it, but I am wondering if there is a way to handle it directly in CUDA.