cgal/Algebraic_foundations/doc_tex/Algebraic_foundations_ref/unit_part.tex

23 lines
501 B
TeX

\begin{ccRefFunction}{unit_part}
\ccDefinition
The function \ccRefName\ computes the unit part of a given ring
element.
The function is guaranteed to be well defined in case the argument type
is a model of the \ccc{IntegralDomainWithoutDivision} concept.
\ccInclude{CGAL/number_utils.h}
\ccFunction{template <class NT> NT unit_part(const NT& x);}
{}
\ccSeeAlso
\ccRefConceptPage{IntegralDomainWithoutDivision}\\
\ccRefConceptPage{AlgebraicStructureTraits::UnitPart}\\
\end{ccRefFunction}