Function

CGAL::square

Definition

The function square returns the square of a number.
The function is defined if the argument type is a model of the IntegralDomainWithoutDivision concept.

#include <CGAL/number_utils.h>

template <class NT>
NT square ( NT x)

See Also

IntegralDomainWithoutDivision
AlgebraicStructureTraits::Square