I found it
X,Y=symbols('XY', real=True)

On May 22, 4:46 pm, Oyster <lepto.pyt...@gmail.com> wrote:
> is there a way to do so?
> thanx
>
> >>> from sympy import *
> >>> X,Y=symbols('XY')
> >>> z=conjugate(X+Y*I)
> >>> integrate(z,(X, -1, 1))
>
> Integral(-I*conjugate(Y) + conjugate(X), (X, -1, 1))>>> 
> integrate(integrate(z,(X, -1, 1)), (Y, -1,1))
>
> Traceback (most recent call last):
>   File "<interactive input>", line 1, in ?
>   File "h:\pure_pylib\math\sympy\sympy\utilities\decorator.py", line
> 55, in threaded_decorator
>   File "h:\pure_pylib\math\sympy\sympy\integrals\integrals.py", line
> 395, in integrate
>   File "h:\pure_pylib\math\sympy\sympy\integrals\integrals.py", line
> 134, in doit
>   File "h:\pure_pylib\math\sympy\sympy\integrals\integrals.py", line
> 307, in _eval_integral
>   File "h:\pure_pylib\math\sympy\sympy\integrals\risch.py", line 170,
> in heurisch
>   File "h:\pure_pylib\math\sympy\sympy\integrals\risch.py", line 54,
> in components
>   File "h:\pure_pylib\math\sympy\sympy\integrals\risch.py", line 36,
> in components
> AttributeError: 'tuple' object has no attribute 'has'
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com
To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to