CGAL 5.1 - Algebraic Kernel
AlgebraicKernel_d_1::IsCoprime_1 Class Reference

#include <Concepts/AlgebraicKernel_d_1--IsCoprime_1.h>

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. More...
 

Member Typedef Documentation

◆ first_argument_type

◆ result_type

◆ second_argument_type

Member Function Documentation

◆ operator()()

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.