[sage-support] Re: units and absolute fields

2009-07-24 Thread mac8090
I'm using version 3.4 - this probably explains it! thanks On Jul 22, 12:21 pm, davidloeffler wrote: > On Jul 21, 6:01 pm, mac8090 wrote: > > > > > > > For a field extension over Q of 2 values, for example M=QQ(i, sqrt > > (2)), it is possible to find an absolute field X by the following > > >

[sage-support] Re: units and absolute fields

2009-07-23 Thread John Cremona
On Jul 22, 12:21 pm, davidloeffler wrote: > On Jul 21, 6:01 pm, mac8090 wrote: > > > > > For a field extension over Q of 2 values, for example M=QQ(i, sqrt > > (2)), it is possible to find an absolute field X by the following > > > L.=NumberField(x^2-2) > > R.=L[] > > M.=L.extension(t^2+1) > >

[sage-support] Re: units and absolute fields

2009-07-22 Thread davidloeffler
On Jul 21, 6:01 pm, mac8090 wrote: > For a field extension over Q of 2 values, for example M=QQ(i, sqrt > (2)), it is possible to find an absolute field X by the following > > L.=NumberField(x^2-2) > R.=L[] > M.=L.extension(t^2+1) > > (this gets M) > > X.=M.absolute_field() > > so far so good. A

[sage-support] Re: units and absolute fields

2009-07-22 Thread John Cremona
M.units() will give a set of units which are a Z-basis for the units modulo roots of unity. There is no canonical basis, so there's no reason why (even if the unit ranks are the same) you should get the same generators. For more functionality with units construct U=X.unit_group() and look at the

[sage-support] Re: units

2008-06-03 Thread Radek
Thank you very much. The Unum python package from http://home.scarlet.be/be052320/Unum.html seems to be what I need at my basic level :-) Radek --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group,

[sage-support] Re: units

2008-06-02 Thread Jason Grout
David Joyner wrote: > I've not tried it and don't know if it will help but since SAGE is > written in Python, > you can look at this tutorial for a Python package called Unim: > http://home.scarlet.be/be052320/Unum_tutorial.html > If it helps, please email back in case others have the same issue a

[sage-support] Re: units

2008-06-02 Thread Harald Schilly
On Jun 2, 11:56 pm, Georg Muntingh <[EMAIL PROTECTED]> wrote: > This is interesting. I guess one way to represent numbers with units > is as Laurent monomials with the number as coefficient and the units > as symbols. ... Never thought about this in that way, but I think this could probably be an

[sage-support] Re: units

2008-06-02 Thread Georg Muntingh
This is interesting. I guess one way to represent numbers with units is as Laurent monomials with the number as coefficient and the units as symbols. This seems to fit in the framework for symbolic expressions. There will be various predefined relations between these monomials like 1000*m = 1*km.

[sage-support] Re: units

2008-06-02 Thread David Joyner
I've not tried it and don't know if it will help but since SAGE is written in Python, you can look at this tutorial for a Python package called Unim: http://home.scarlet.be/be052320/Unum_tutorial.html If it helps, please email back in case others have the same issue as you. On Mon, Jun 2, 2008 a