MathGroup Archive 2009

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

Search the Archive

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

  • To: mathgroup at smc.vnet.net
  • Subject: [mg96420] Re: (2/3)[[1]]
  • From: dh <dh at metrohm.com>
  • Date: Fri, 13 Feb 2009 03:43:23 -0500 (EST)
  • References: <gn11e8$7vn$1@smc.vnet.net>


Hi,

Rational is a base type and is treated as an atom:

AtomQ[2/3]

It is similar to e.g. Integer[2]

Daniel



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

> 

> Thanks.

> 




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