I have some calculation involving two matrices both represented in numpy arrays.
After the calculation, i obtain a vector of floats represented in another numpy array.
I want to round up/down the values in this resultant vector, e.g. if the calculation gives:
array([1.33333, 2.56, 9.99999, 16.0])
then it should be rounded to:
array([1, 3, 10, 16])
What is the fastest way to do this?