Top
Back: rootsModp
Forward: Atkin
FastBack: aksaka_lib
FastForward: crypto_lib
Up: atkins_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.12.2.13 wUnit

Procedure from library atkins.lib (see atkins_lib).

Usage:
wUnit(D);

Return:
the number of roots of unity in the quadratic order of discriminant D

Assume:
D<0 a discriminant kongruent to 0 or 1 modulo 4

Example:
 
LIB "atkins.lib";
ring r = 0,x,dp;
number D=-3;
wUnit(D);
==> 6


Top Back: rootsModp Forward: Atkin FastBack: aksaka_lib FastForward: crypto_lib Up: atkins_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-2, Oct 2010, generated by texi2html.