Complex argument symbolic expression

188 days ago by Juan_Luis_Cano_Rodr_guez

z = i + 1.0 z 
       
1.00000000000000 + 1.00000000000000*I
1.00000000000000 + 1.00000000000000*I
z.argument() 
       
Traceback (click to the left of this block for traceback)
...
AttributeError: 'sage.symbolic.expression.Expression' object has no
attribute 'argument'
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "_sage_input_7.py", line 10, in <module>
    exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("ei5hcmd1bWVudCgp"),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
  File "", line 1, in <module>
    
  File "/tmp/tmpEHHxOX/___code___.py", line 2, in <module>
    exec compile(u'z.argument()
  File "", line 1, in <module>
    
  File "element.pyx", line 330, in sage.structure.element.Element.__getattr__ (sage/structure/element.c:2840)
AttributeError: 'sage.symbolic.expression.Expression' object has no attribute 'argument'
i = CC.0 z = i + 1.0 z 
       
1.00000000000000 + 1.00000000000000*I
1.00000000000000 + 1.00000000000000*I
z.argument() * 180 / pi.n() 
       
45.0000000000000
45.0000000000000