Top
Back: bubblesort
Forward: Cornacchia
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.3 disc

Procedure from library atkins.lib (see atkins_lib).

Usage:
disc(N,k);

Return:
list L of negative discriminants D, sorted in decreasing order

Assume:
D<0, D kongruent 0 or 1 modulo 4 and |D|<4N

Note:
D=b^2-4*a, where 0<=b<=k and intPart((b^2)/4)+1<=a<=k for each b

Example:
 


Top Back: bubblesort Forward: Cornacchia 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-6, Dec 2012, generated by texi2html.