![]() |
VOOZH | about |
Numpy matrix.round() method, we are able to round off the values of the given matrix.
Syntax : matrix.round()
Return : Return rounded values in matrix
Example #1 :
In the given example we are able to round off the given matrix by using matrix.round() method.
[[ 6. 1.] [ 13. 32.]]
[[ 1. 2.] [ 5. 6.] [ 7. 9.]]