square_abs(X)

Prototype

template <class X>
typename square_abs_functor<X>::result_type square_abs(X const&) ;

Description

Computation of the square of abs(x). of a abject of type X.

The function square_abs(a) is implementated by the functor square_abs_functor<X> where X is the type of a. The result of square_abs(a) is square_abs_functor<X>::result_type.

Example

Definition

Defined in algorithm/square_abs.hpp

Template parameters

ParameterDescriptionDefault
Xtype of operand 

Type requirements