Class AppMath::Cos
In: graph.rb
Parent: Object

Methods

at   new  

Public Class methods

[Source]

     # File graph.rb, line 249
249:   def initialize(n = R.prec)
250:     @precMem = R.prec
251:     @precLoc = n
252:   end

Public Instance methods

[Source]

     # File graph.rb, line 253
253:   def at(x)
254:     R.prec = @precLoc
255:     y = x.cos
256:     R.prec = @precMem; y
257:   end

[Validate]