MathGroup Archive 2009

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

Search the Archive

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

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 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]]