A new instance of ArcCot.
Returns a new instance of ArcCot.
379 380 381 382
# File 'lib/graph.rb', line 379 def initialize(n = R.prec) @precMem = R.prec @precLoc = n end
383 384 385 386 387
# File 'lib/graph.rb', line 383 def at(x) R.prec = @precLoc y = R.c(x).acot R.prec = @precMem; y end