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 dlrNumeric/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 dlrNumeric/functional.h.

References dlr::numeric::sqrt().


The documentation for this struct was generated from the following file:
Generated on Mon Jul 9 20:34:21 2007 for dlrLibs Utility Libraries by  doxygen 1.5.2