numpy / 1.22.0 / reference / generated / numpy.matrix.round.html /

numpy.matrix.round

method

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

Return a with each element rounded to the given number of decimals.

Refer to numpy.around for full documentation.

See also

numpy.around

equivalent function

© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.22/reference/generated/numpy.matrix.round.html