massage

0th

Percentile

Massages numbers near the real line to be real

Returns the Real part of numbers near the real line

Keywords
math
Usage
massage(z, tol = 1e-10)
Arguments
z

vector of complex numbers to be massaged

tol

Tolerance

Aliases
  • massage
Examples
# NOT RUN {
massage(1+1i)
massage(1+1e-11i)

massage(c(1,1+1e-11i,1+10i))
# }
Documentation reproduced from package elliptic, version 1.4-0, License: GPL-2

Community examples

Looks like there are no examples yet.