numpy.matrix.round #

方法

矩阵。舍入小数= 0输出=#

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

请参阅numpy.around完整文档。

也可以看看

numpy.around

等价函数