Skip to content
Skip to main navigation
Skip to first column
Skip to second column
Singular
Search
Download 4-1-0
Try Online
Online Manual
Graphical Interface
Get Help
Report Bugs
Books
Teams
Join Us
Home
Online Manual
D.12.3.11 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:
LIB "crypto.lib"; squareRoot(8315890421938608,32003); ==> 18784
Main
Home
News
Publications
How to cite Singular
Community
Forum
Trac
Events
Mailing List
Blog
System
New Libraries
Source Code
Open Tasks
Third-party software
Misc
Links
Contact
Impressum
Internal