sqrt_functor< X >

Description

Is used to implement glas::sqrt(x).

The added value of the sqrt_functor is that it can be extended to any value-type that one might want to use in glas.

Example

Definition

Defined in sqrt.hpp

Template parameters

ParameterDescriptionDefault
Xtype of argument of the sqrt_square(a) function 

Model of

UnaryFunction

Type requirements

X can be

Public base classes

Members

MemberWhere definedComment
sqrt_functor<X>::result_type sqrt_functor<X>operator()(X const& a) const UnaryFunctiona