MCPcopy Create free account
hub / github.com/ActiveState/code / cos

Method cos

recipes/Python/59884_RPN_Stack_class/recipe-59884.py:191–193  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

189 self.pop(); self.push(newx)
190
191 def cos(self):
192 newx = math.cos(self.getx())
193 self.pop(); self.push(newx)
194
195 def tan(self):
196 newx = math.tan(self.getx())

Callers 15

$Function · 0.80
Triangle_Tooth_GearFunction · 0.80
recipe-578390.pyFile · 0.80
draw_fractalFunction · 0.80
pvonFunction · 0.80
pbisFunction · 0.80
DurandKernerFunction · 0.80
recipe-580610.pyFile · 0.80
recipe-578198.pyFile · 0.80
recipe-578765.pyFile · 0.80
recipe-578533.pyFile · 0.80
points2distanceFunction · 0.80

Calls 3

getxMethod · 0.95
popMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected