square_abs_functor< X >

Description

Computes the square modulus (absolute value or magnitude). This functor is used to implement square_abs().

Example

Definition

Defined in algorithm/square_abs.hpp

Template parameters

ParameterDescriptionDefault
Xtype of argument of the square_abs(a) function 

Model of

AdaptableUnaryFunction

Type requirements

Public base classes

Members

MemberWhere definedComment
argument_type AdaptableUnaryFunctiona
result_type AdaptableUnaryFunctiona
result_type operator() (const X& a) const UnaryFunctiona