yat  0.8.3pre
Public Member Functions
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)
inlineexplicit
Parameters:
baseTaking 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 Thu Dec 20 2012 03:13:00 for yat by  doxygen 1.8.0-20120409