Skip to main content

round

round(const RealArray arr) -> RealArray

Computes the nearest integer to each element of the RealArray arr element-wise, rounding away from zero in halfway cases.

Parameters