On Mar 11, 2009, at 4:56 AM, Mani chandra wrote:

>
> Hi,
>
>     The following function gives me an error.
>
>      def test(l, r):
>            return complex(0, 1)**l*spherical_bessel_J(l, r)

[...]

>
> TypeError: unsupported operand parent(s) for '*': '<type  
> 'complex'>' and
> 'Symbolic Ring'
>
>
> Help appreciated. Thank you

This was fixed in http://trac.sagemath.org/sage_trac/ticket/5423 . E.g.

sage: complex(3,1) * SR(I)
I*(1.0*I + 3.0)

- Robert

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to