函数用法np.ceil(a) ,np.floor(a) : 计算各元素的ceiling 值, floor值(ceiling向上取整,floor向下取整)代码示例>>> import numpy as np>>> a=np.array([1.5,1.2 ...
確定! 回上一頁