A new instance of Erfc.
Returns a new instance of Erfc.
403 404 405 406
# File 'lib/graph.rb', line 403 def initialize(n = R.prec) @precMem = R.prec @precLoc = n end
407 408 409 410 411
# File 'lib/graph.rb', line 407 def at(x) R.prec = @precLoc y = R.c(x).erfc R.prec = @precMem; y end