HI,
In the example below, why do I need to explicitely specify the function 
variables for atan2 in contrast to atan?

sage: var('z')
sage: f1(z)=2+z; f2(z)=z**2+z+1
sage: arctan(f2/f1)
  z|-->arctan((z^2+z+1)/(z+2))
sage: arctan2(f2,f1)
  Traceback (click to the left of this block for traceback)
   ... 
  TypeError: cannot coerce arguments: no canonical coercion from Callable
  function ring with arguments (z,) to Symbolic Ring
 
But doing this works
sage: arctan2(f2(z),f1(z))
  arctan2(z^2+z+1,z+2)

jorge

arctan2(z^2+z+1,z+


-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to