A new instance of Exp.
Returns a new instance of Exp.
331 332 333 334
# File 'lib/graph.rb', line 331 def initialize(n = R.prec) @precMem = R.prec @precLoc = n end
335 336 337 338 339
# File 'lib/graph.rb', line 335 def at(x) R.prec = @precLoc y = R.c(x).exp R.prec = @precMem; y end