dlr::numeric::SquareRootFunctor< Type > Struct Template Reference

Functor template which computes the square root of its argument (using std::sqrt(), if appropriate). More...

#include <functional.h>

List of all members.

Public Member Functions

Type operator() (const Type &input)
 Take the square root of the input argument, and return the result.


Detailed Description

template<class Type>
struct dlr::numeric::SquareRootFunctor< Type >

Functor template which computes the square root of its argument (using std::sqrt(), if appropriate).

Definition at line 120 of file functional.h.


Member Function Documentation

template<class Type >
Type dlr::numeric::SquareRootFunctor< Type >::operator() ( const Type &  input  )  [inline]

Take the square root of the input argument, and return the result.

Parameters:
input This argument will be passed to a square root function.
Returns:
The result of the square root call.

Definition at line 130 of file functional.h.

References dlr::numeric::sqrt().


The documentation for this struct was generated from the following file:

Generated on Wed Nov 25 00:42:49 2009 for dlrUtilities Utility Library by  doxygen 1.5.8