CGAL 6.1.1 - Algebraic Foundations

Loading...
Searching...
No Matches
List of all members
AlgebraicStructureTraits_::KthRoot Concept Reference
Reference Manual » Concepts

## 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 Function Documentation

## ◆ operator()()

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

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

Precondition
  \( k \geq1\)