Function

CGAL::kth_root

Definition

The function kth_root returns the k-th root of a value.

The function is defined if the second argument type is a model of the FieldWithKthRoot concept.

#include <CGAL/number_utils.h>

template <class NT>
NT kth_root ( int k, NT x)

See Also

FieldWithKthRoot
AlgebraicStructureTraits::KthRoot