Linear AlgebraFunctionsnearest_integerOn this pagenearest_integer nearest_integer(const RealArray arr) -> RealArray Computes the nearest integer to each element of the RealArray arr element-wise, rounding halfway cases to even. Parameters arr: The input RealArray.