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
Parameter
Description
Default
X
type of argument of the
square_abs(a)
function
Model of
AdaptableUnaryFunction
Type requirements
Public base classes
Members
Member
Where defined
Comment
argument_type
AdaptableUnaryFunction
a
result_type
AdaptableUnaryFunction
a
result_type operator() (const X& a) const
UnaryFunction
a