MathGroup Archive 2005

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

Search the Archive

Re: Bug Report - Two numerical values for a same variable

  • To: mathgroup at smc.vnet.net
  • Subject: [mg54296] Re: Bug Report - Two numerical values for a same variable
  • From: Maxim <ab_def at prontomail.com>
  • Date: Wed, 16 Feb 2005 14:36:20 -0500 (EST)
  • References: <cuhr4q$978$1@smc.vnet.net> <cukc65$lup$1@smc.vnet.net> <200502130521.AAA03676@smc.vnet.net> <opsl4914q7iz9bcq@monster> <002301c51217$ad7438b0$b5803e44@Dell> <cup6bc$e11$1@smc.vnet.net> <curp0c$qv3$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

On Tue, 15 Feb 2005 03:06:52 +0000 (UTC), Carl K. Woll  
<carlw at u.washington.edu> wrote:

>
> Objects with head Rational are atoms, so you don't have access to the
> integers inside a rational object. It's the samething as complex numbers.
> For example,
>
> Complex[6,7] /. 7->1
> 6 + 7 I
>
> Carl Woll
>

However, if I construct something like Complex[E, E] manually, it won't be  
an atom, and some functions will have problems with it:

In[1]:=
Complex[E, E] // Re // N
Complex[E, E] // Re // ComplexExpand // N

Out[1]=
2.7182818

Out[2]=
2.7182818 + 2.7182818 I

Perhaps this is an unallowed construct, but how am I supposed to know that  
it's unallowed?

Maxim Rytin
m.r at inbox.ru


  • Prev by Date: Re: Re: Missing Graphics
  • Next by Date: Re: solve doesn't solve
  • Previous by thread: Re: Bug Report - Two numerical values for a same variable
  • Next by thread: Re: Re: Bug Report - Two numerical values for a same variable