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: [mg96441] Re: (2/3)[[1]]
  • From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
  • Date: Fri, 13 Feb 2009 03:47:15 -0500 (EST)
  • References: <gn11e8$7vn$1@smc.vnet.net>

I think it's because (as the doc page of Rational states):

Rationals are atomic objects with no subexpressions:

In[1]:= AtomQ[22/7]

Out[1]= True

Cheers -- Sjoerd


On Feb 12, 1:33 pm, obo... 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]]
>
> Thanks.



  • Prev by Date: Re: (2/3)[[1]]
  • Next by Date: Re: Best syntax for derivative
  • Previous by thread: Re: (2/3)[[1]]
  • Next by thread: Re: (2/3)[[1]]