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


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