CGAL 5.1 - Algebraic Foundations
AlgebraicStructureTraits_::KthRoot Class Reference

#include <Concepts/AlgebraicStructureTraits--KthRoot.h>

Definition

AdaptableBinaryFunction providing the k-th root.

Refines:
AdaptableBinaryFunction
See also
FieldWithRootOf
AlgebraicStructureTraits

Types

typedef unspecified_type result_type
 Is AlgebraicStructureTraits::Type. More...
 
typedef unspecified_type first_argument
 Is int. More...
 
typedef unspecified_type second_argument
 Is AlgebraicStructureTraits::Type. More...
 

Operations

result_type operator() (int k, second_argument_type x)
 returns the \( k\)-th root of \( x\). More...
 

Member Typedef Documentation

◆ first_argument

Is int.

◆ result_type

◆ second_argument

Member Function Documentation

◆ operator()()

result_type AlgebraicStructureTraits_::KthRoot::operator() ( int  k,
second_argument_type  x 
)

returns the \( k\)-th root of \( x\).

Precondition
\( k \geq1\)