Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: (2/3)[[1]]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg96446] Re: (2/3)[[1]]
  • From: Bill Rowe <readnews at sbcglobal.net>
  • Date: Fri, 13 Feb 2009 03:48:10 -0500 (EST)

On 2/12/09 at 6:33 AM, obott0 at gmail.com wrote:

>I'm not sure if this has been asked before, but why can't Part be
>used with Rational?

>i.e. (2/3)[[1]]

Because Rational is an atomic element. That is

In[9]:= AtomQ[2/3]

Out[9]= True



  • Prev by Date: Bug in Limit
  • Next by Date: Re: (2/3)[[1]]
  • Previous by thread: Re: (2/3)[[1]]
  • Next by thread: Re: (2/3)[[1]]