cgal/Algebraic_foundations/doc_tex/Algebraic_foundations_ref/square.tex

20 lines
475 B
TeX

\begin{ccRefFunction}{square}
\ccDefinition
The function \ccRefName\ returns the square of a number.\\
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 square(const NT& x);}
{}
\ccSeeAlso
\ccRefConceptPage{IntegralDomainWithoutDivision}\\
\ccRefConceptPage{AlgebraicStructureTraits::Square}\\
\end{ccRefFunction}