basti
unread,May 6, 2008, 2:19:46 PM5/6/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sympy
Why can I do:
>> import math, sympy
>> math.cos(sympy.pi)
-1.0
but not:
>> import numpy, sympy
>> numpy.cos(sympy.pi)
---------------------------------------------------------------------------
<type 'exceptions.AttributeError'> Traceback (most recent call
last)
/home/sebastian/workspace/hgsympy/<ipython console> in <module>()
/home/sebastian/workspace/hgsympy/sympy/core/basic.py in
__getattr__(self, name)
216 # if we are here -- it surely does not exist,
217 # so let's get out of here as fast as possible.
--> 218 raise AttributeError(name)
219
220 else:
<type 'exceptions.AttributeError'>: cos