Ask Your Question
0

interger-ring() and maximal_order() is the same in numberfield

asked 2013-12-11 04:31:03 +0100

cjsh gravatar image

interger-ring() and maximal_order() is the same in numberfield,I try many times,get same rusults...

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-12-11 04:46:46 +0100

Francis Clarke gravatar image

I think you must mean ring_of_integers rather than "interger-ring". And indeed K.ring_of_integers() and K.maximal_order() are the same for a number field K. You can see this explicitly as follows:

sage: K.ring_of_integers??
Type:       builtin_function_or_method
String Form:<built-in method ring_of_integers of NumberField_absolute_with_category object at     0x7f85bc4dae00>
Definition: K.ring_of_integers(self, *args, **kwds)
Source:
    def ring_of_integers(self, *args, **kwds):
        r"""
        Synomym for ``self.maximal_order(...)``.

        EXAMPLES::

            sage: K.<a> = NumberField(x^2 + 1)
            sage: K.ring_of_integers()
            Maximal Order in Number Field in a with defining polynomial x^2 + 1
        """
       return self.maximal_order()
edit flag offensive delete link more

Comments

thank you very much! integer closed, integer elenment....make me mad long time

cjsh gravatar imagecjsh ( 2013-12-12 02:40:49 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-12-11 04:31:03 +0100

Seen: 294 times

Last updated: Dec 12 '13