CLAM::Power< s, abs, T > Class Template Reference

Binary Operator for use with std::accumulate, for computing Sum(x(i)^n). More...

#include <BasicOps.hxx>

List of all members.

Public Member Functions

 Power ()
operator() (const T &orig, const T &num)
operator() (const T &orig, const T &num, StaticFalse *doAbsolute)
operator() (const T &orig, const T &num, StaticTrue *doAbsolute)

Protected Attributes

Pow< s > mP

Detailed Description

template<int s, bool abs = false, class T = TData>
class CLAM::Power< s, abs, T >

Binary Operator for use with std::accumulate, for computing Sum(x(i)^n).

Definition at line 80 of file BasicOps.hxx.


Constructor & Destructor Documentation

template<int s, bool abs = false, class T = TData>
CLAM::Power< s, abs, T >::Power (  )  [inline]

Definition at line 83 of file BasicOps.hxx.


Member Function Documentation

template<int s, bool abs = false, class T = TData>
T CLAM::Power< s, abs, T >::operator() ( const T &  orig,
const T &  num,
StaticTrue doAbsolute 
) [inline]

Definition at line 92 of file BasicOps.hxx.

template<int s, bool abs = false, class T = TData>
T CLAM::Power< s, abs, T >::operator() ( const T &  orig,
const T &  num,
StaticFalse doAbsolute 
) [inline]

Definition at line 88 of file BasicOps.hxx.

template<int s, bool abs = false, class T = TData>
T CLAM::Power< s, abs, T >::operator() ( const T &  orig,
const T &  num 
) [inline]

Definition at line 84 of file BasicOps.hxx.


Member Data Documentation

template<int s, bool abs = false, class T = TData>
Pow<s> CLAM::Power< s, abs, T >::mP [protected]

Definition at line 97 of file BasicOps.hxx.

Referenced by CLAM::Power< 1, abs, T >::operator()().


The documentation for this class was generated from the following file:
Generated by  doxygen 1.6.3