|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Extended GCD: computes g, s, t such that \(sa + tb = g\). More...
#include <tpl_polynomial.H>
Public Attributes | |
| Gen_Polynomial | g |
| Greatest common divisor (monic). | |
| Gen_Polynomial | s |
| Bezout coefficient for the first argument. | |
| Gen_Polynomial | t |
| Bezout coefficient for the second argument. | |
Extended GCD: computes g, s, t such that \(sa + tb = g\).
Uses the extended Euclidean algorithm. The result g is made monic.
| [in] | a | First polynomial. |
| [in] | b | Second polynomial. |
Result of the extended GCD algorithm.
Definition at line 1177 of file tpl_polynomial.H.
| Gen_Polynomial Aleph::Gen_Polynomial< Coefficient >::Xgcd_Result::g |
Greatest common divisor (monic).
Definition at line 1179 of file tpl_polynomial.H.
| Gen_Polynomial Aleph::Gen_Polynomial< Coefficient >::Xgcd_Result::s |
Bezout coefficient for the first argument.
Definition at line 1180 of file tpl_polynomial.H.
| Gen_Polynomial Aleph::Gen_Polynomial< Coefficient >::Xgcd_Result::t |
Bezout coefficient for the second argument.
Definition at line 1181 of file tpl_polynomial.H.