Hi,
and
Element[{x,y},Reals]
and
With[{z = x + I*y},
FullSimplify[{Re[z], Im[z]}, Element[{x, y}, Reals]]
]
is more complicated ?
Regards
Jens
Ising wrote:
> Hi:
> I want to define the variables x and y are real at first,then:
> z=x+I*y;
> Re[z]=x
> Im[z]=y
> Using "Assumptions" "Assuming"? But i don not know how to use it. Is
> there other ways to get that?
> I know in another system, it is easy, as in
> assume(x,real,y,real);
> So what is in Mathematica?
> Thanks!
>