numpy.matrix.round#

方法

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

傳回 a,其中每個元素都四捨五入到給定的小數位數。

請參閱 numpy.around 以取得完整文件。

另請參閱

numpy.around

等效函數