mirror of https://github.com/CGAL/cgal
45 lines
753 B
C++
45 lines
753 B
C++
/// \addtogroup PkgAlgebraicFoundations Algebraic Foundations
|
||
/// @{
|
||
/// \addtogroup PkgAlgebraicFoundationsConcepts Concepts
|
||
/// @{
|
||
|
||
|
||
///
|
||
/// `AdaptableUnaryFunction` providing the square root.
|
||
/// \refines ::AdaptableUnaryFunction
|
||
/// \sa `AlgebraicStructureTraits`
|
||
class AlgebraicStructureTraits::Sqrt {
|
||
public:
|
||
|
||
/// \name Types
|
||
/// @{
|
||
/*!
|
||
Is `AlgebraicStructureTraits::Type`.
|
||
*/
|
||
typedef Hidden_type result_type;
|
||
/// @}
|
||
|
||
/// \name Types
|
||
/// @{
|
||
/*!
|
||
Is `AlgebraicStructureTraits::Type`.
|
||
*/
|
||
typedef Hidden_type argument_type;
|
||
/// @}
|
||
|
||
/// \name Operations
|
||
/// @{
|
||
/*!
|
||
returns \f$ \sqrt{x} \f$.
|
||
*/
|
||
result_type operator()(argument_type x) const;
|
||
/// @}
|
||
|
||
}; /* concept AlgebraicStructureTraits::Sqrt */
|
||
/// @}
|
||
/// @}
|
||
|
||
|
||
|
||
|