Top
Back: intRoot
Forward: solutionsMod2
FastBack: atkins_lib
FastForward: hyperel_lib
Up: crypto_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.12.3.13 squareRoot

Procedure from library crypto.lib (see crypto_lib).

Usage:
squareRoot(a,p);

Return:
the square root of a in Z/p, p prime

Note:
assumes the Jacobi symbol is 1 or p=2.

Example:
 


Top Back: intRoot Forward: solutionsMod2 FastBack: atkins_lib FastForward: hyperel_lib Up: crypto_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.