method
matrix.
round
Return a with each element rounded to the given number of decimals.
Refer to numpy.around for full documentation.
numpy.around
See also
equivalent function