CGAL 6.1 - Algebraic Foundations
Loading...
Searching...
No Matches
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.
 
typedef unspecified_type first_argument
 Is int.
 
typedef unspecified_type second_argument
 Is AlgebraicStructureTraits::Type.
 

Operations

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

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\)