On Thu, Jun 24, 2010 at 9:32 PM, aly.dei...@gmail.com
<aly.dei...@gmail.com> wrote:
> Hi,
>   I have written functions for the hilbert symbol and the legendre
> symbol.  It seems reasonable to group them with number fields but they
> do not need to be a member functions since they don't require a
> reference to the number field.  Where should I put them?

Sage-4.4 *already* has top level functions called hilbert_symbol and
legendre_symbol:

sage: hilbert_symbol
<function hilbert_symbol at 0x103e11b18>
sage: legendre_symbol
<function legendre_symbol at 0x103e11488>

So it's clear where your functions go.  Just enhance the above
functions so that when they get number field inputs they do the right
thing.  Extend their domains.

>
> Thanks,
> Aly
>
> --
> To post to this group, send an email to sage-devel@googlegroups.com
> To unsubscribe from this group, send an email to 
> sage-devel+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
>



-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to