On Feb 26, 7:35 pm, "Joel B. Mohler" <[email protected]> wrote:
> After having been a heavy sage user for several years, I now have
> virtually not touched it for several more years.  Returning now on a
> lark, I'm feeling rather confused because I'd think the following
> would obviously work.  My goal is to factor a bunch of Gaussian
> integers.
>
> sage: K.<I>=QuadraticField(-1)
> sage: ((I+1)*(I+1)).factor()
> ---------------------------------------------------------------------------
> AttributeError                            Traceback (most recent call
> last)
> /home/joel/.sagelocalrc.py in <module>()
> AttributeError: 'sage.rings.number_field.number_field_element_quadr'
> object has no attribute 'factor'

Ok, to answer myself, this appears to work in the cell server on the
sage front page, but does not work in my old install of version 4.3.
Therefore I conclude that I need to upgrade.  However, I'm still quite
baffled that this didn't work in sage 4.3.

Joel

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to