theplu::yat::utility::Log< T > Class Template Reference

#include <yat/utility/stl_utility.h>

List of all members.

Public Member Functions

 Log (void)
 Log (double base)
operator() (T x) const


Detailed Description

template<typename T>
class theplu::yat::utility::Log< T >

Functor class to take logarithm

T should be either float, double, or long double

Since:
New in yat 0.5

Constructor & Destructor Documentation

template<typename T>
theplu::yat::utility::Log< T >::Log ( void   )  [inline]

Default constructor using natural base $ e $

template<typename T>
theplu::yat::utility::Log< T >::Log ( double  base  )  [inline, explicit]

Parameters:
base Taking logarithm in which base, e.g. 2 or 10.


Member Function Documentation

template<typename T>
T theplu::yat::utility::Log< T >::operator() ( x  )  const [inline]

Returns:
logarithm


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

Generated on Tue Jan 18 02:21:18 2011 for yat by  doxygen 1.5.5