numpy.matrix.round#

方法

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

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

请参阅 numpy.around 获取完整文档。

另请参阅

numpy.around

等效函数