RegularChains[FastArithmeticTools][RegularGcdBySpecializationCube] - regular GCD of two polynomials modulo a regular chain
|
Calling Sequence
|
|
RegularGcdBySpecializationCube(f1, f2, rc, SCube, R)
|
|
Parameters
|
|
R
|
-
|
polynomial ring
|
f1
|
-
|
polynomial of R
|
f2
|
-
|
polynomial of R
|
rc
|
-
|
regular chain
|
SCube
|
-
|
subresultant chain specialization cube
|
|
|
|
|
Description
|
|
•
|
The resultant of f1 and f2 w.r.t. v must be null modulo the saturated ideal of rc.
|
•
|
The algorithm implemented by the command RegularGcd is more general and does not require the latter two assumptions. However, when both commands can be used the command RegularGcdBySpecializationCube is very likely to outperform RegularGcd, since it relies on modular techniques and asymptotically fast polynomial arithmetic.
|
|
|
Examples
|
|
>
|
|
>
|
|
>
|
|
Define a ring of polynomials.
| (1) |
Define two polynomials of R.
>
|
|
| (2) |
>
|
|
| (3) |
Compute images of the subresultant chain of sufficiently many points in order to interpolate. Multi-dimensional TFT (Truncated Fourier Transform) is used to evaluate and interpolate since 1 is passed as fifth argument
>
|
|
| (4) |
Interpolate the resultant from the SCube
>
|
|
| (5) |
Define a regular chain with r2. Note that r2 is not required to be squarefree.
>
|
|
| (6) |
Compute a regular GCD of f1 and f2 modulo rc
>
|
|
| (7) |
|
|
Download Help Document
Was this information helpful?