numpy.matrix.round#

method

matrix.round(decimals=0, out=None)#

返回 a ,其中每个元素都四舍五入到给定的小数位数.

请参考 numpy.around 获取完整文档.

参见

numpy.around

等效函数