A = min(1, max(0, A))

Crop A into [0, 1]:

posted @ 2019-11-05 10:08  Picassooo  阅读(237)  评论(0编辑  收藏  举报