MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

problem to define a complex variable

  • To: mathgroup at smc.vnet.net
  • Subject: [mg116607] problem to define a complex variable
  • From: tarun dutta <tarunduttaz at gmail.com>
  • Date: Mon, 21 Feb 2011 19:28:29 -0500 (EST)

i want to use complex variable such as
c[i_]=re[i]+I*im[i]
then I get
conj[c[i]] =re[i]-I*im[i]
by stating
conj[a_]:=complexexpand[conjugate[a]];
but now i am writing
c[i_][t_]=re[i][t]+I*im[i][t]
but i am not getting
conj[c[i][t]]=re[i][t]-I*im[i][t]
by stating
conj[a_]:=ComplexExpand[Conjugate[a[i][t]]]

is there any way of writing this thing?
any help will be very much appreciated.
regards,
tarun


  • Prev by Date: Re: Odd behaviour of solution of PDE
  • Next by Date: How to deal with big matrix?
  • Previous by thread: Re: Odd behaviour of solution of PDE
  • Next by thread: Re: problem to define a complex variable