Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A library for computing modular GCD of univariate polynomials.

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
NotificationsYou must be signed in to change notification settings

luis4a0/libmug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A library for modular univariate GCD computations.

The original code was bundled with CGAL, between versions 3.6 (March, 2010)and 4.3 (October, 2013). For CGAL 4.4, I removed it because I rewrote thealgebraic kernel that used it. I release it because I hope the code is usefulfor someone. If you are interested, don't hesitate in contacting me.

Algorithm overview

The implementation the well-known Euclidean algorithm to compute GCD.However, big numbers make the size of the coefficients explode. We use thenmodular arithmetic. We compute images of the input polynomials modulo someprimes and compute then images of these modular polynomials. Then, we useChinese lifting to recover the result.

Compiling and testing

Build Status

You can compile using GNU make. Edit makefile and config to suit your needs.

The code is tested automatically viaTravis CI usingGCC and Clang, both under GNU/Linux and Mac OS. Tests are triggered when a newcommit is pushed. The code should also compile on MSVC, although I did nottest it.

Bibliography

  • von Zur Gathen and Gerhard,Modern Computer Algebra, 2nd edition,Cambridge, 2003.
  • Geddes, Czapor and Labahn,Algorithms for Computer Algebra,Springer, 1992.
  • Zippel,Effective Polynomial Computations, Springer, 1993.

License

The code is released under the LGPLv3. See files COPYING.LESSER andCOPYING in the bundle for more information. Originally, the code wasreleased under the LGPLv2.

About

A library for computing modular GCD of univariate polynomials.

Topics

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp