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

Functor template which computes the natural logarithm of its argument (using std::log(), if appropriate). More...

#include <functional.h>

List of all members.

Public Member Functions

Type operator() (const Type &input)
 Compute the log of the input argument, and return the result.


Detailed Description

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

Functor template which computes the natural logarithm of its argument (using std::log(), if appropriate).

Definition at line 68 of file functional.h.


Member Function Documentation

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

Compute the log of the input argument, and return the result.

Parameters:
input The natural log of this argument will be computed.
Returns:
The natural log of the argument.

Definition at line 78 of file functional.h.


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