Returns the Real part of numbers near the real line
massage(z, tol = 1e-10)
vector of complex numbers to be massaged
Tolerance
# NOT RUN { massage(1+1i) massage(1+1e-11i) massage(c(1,1+1e-11i,1+10i)) # }
Run the code above in your browser using DataLab