oh please somebody delete my post! I'm so confusing different mailing lists.

BIG Apology.

Fabio

On Mon, Apr 28, 2008 at 12:56 PM, Fabio Tonti <[EMAIL PROTECTED]> wrote:

> If you use the notebook (of course, it also works with the interactive
> ipython interface), you could just type this:
>
> a=2/3
>
> After having defined the fraction, type a.<TAB>, which gives a list of
> available methods.
> Having looked it up there, you'll find
> a.denom()  and
> a.numer()
> quite useful.
>
> Fabio
>
>
> On Mon, Apr 28, 2008 at 12:38 PM, Colin Gillespie <[EMAIL PROTECTED]>
> wrote:
>
> >
> > Dear All,
> >
> > Is there a method for automatically extracting the numerator and
> > denominator of a fraction? For example,
> >
> > f= a/b
> >
> > > f.numerator()
> > a
> >
> > Thanks
> >
> > Colin
> > > >
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to