CGAL 5.4.2 - Algebraic Kernel
AlgebraicKernel_d_1::IsCoprime_1 Concept Reference

Definition

Determines whether a given pair of univariate polynomials \( p_1, p_2\) is coprime, namely if \( \deg({\rm gcd}(p_1 ,p_2)) = 0\).

Refines:
AdaptableBinaryFunction
See also
AlgebraicKernel_d_1::MakeCoprime_1

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.