CGAL 5.1 - Algebraic Kernel
|
#include <Concepts/AlgebraicKernel_d_1--IsCoprime_1.h>
Determines whether a given pair of univariate polynomials \( p_1, p_2\) is coprime, namely if \( \deg({\rm gcd}(p_1 ,p_2)) = 0\).
AdaptableBinaryFunction
Types | |
typedef bool | result_type |
typedef AlgebraicKernel_d_1::Polynomial_1 | first_argument_type |
typedef AlgebraicKernel_d_1::Polynomial_1 | second_argument_type |
Operations | |
result_type | operator() (const first_argument_type &p1, const second_argument_type &p2) |
Returns true if p1 and p2 are coprime. More... | |
typedef bool AlgebraicKernel_d_1::IsCoprime_1::result_type |
result_type AlgebraicKernel_d_1::IsCoprime_1::operator() | ( | const first_argument_type & | p1, |
const second_argument_type & | p2 | ||
) |
Returns true if p1
and p2
are coprime.