Re: Replacement rules with I (sqrt(-1)
- To: mathgroup at smc.vnet.net
- Subject: [mg45137] Re: Replacement rules with I (sqrt(-1)
- From: "Jean.Pellegri" <Jean.Pellegri at wanadoo.fr>
- Date: Thu, 18 Dec 2003 06:55:13 -0500 (EST)
- References: <brhi2e$jha$1@smc.vnet.net> <brk4oe$sq7$1@smc.vnet.net> <brpkil$7m4$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
"John Doty" <jpd at w-d.org> a écrit dans le message de news:brpkil$7m4$1 at smc.vnet.net... > In article <brk4oe$sq7$1 at smc.vnet.net>, Jean.Pellegri at wanadoo.fr wrote: > > > FullForm[x + I*y] donne Plus[x,Times[Complex[0,1],y]] > > > > FullForm[3 + I] donne Complex[3,1] et non pas > > Plus[3,Times[Complex[0,1],1]] > > > > Pet-être est la raison ? > > Also, FullForm[ 3 + 5 ] yields 8 > > Try FullForm[Hold[3+I]] for further amusement... > FullForm[Hold[3+I]] ------------> Hold[Plus[3,\[ImaginaryI]]] FullForm[Hold[I]] ------------> Hold[\[ImaginaryI]] Is \[ImaginaryI] an "atom" (or "symbol") (like 3 or like a) ?? Is not Complex[3,1] an "atom" ?? Ciao -- < Jean Pellegri > "fortitudo mea in rota" 93100 Montreuil