CLAM::Moment< o, abs, T, U > Class Template Reference

Class Function that computes 'oth' order Moment using PoweredSum Class Function. More...

#include <BasicOps.hxx>

List of all members.

Public Member Functions

 Moment ()
operator() (const Array< T > &a, PoweredSum< o, abs, T > &powSum, StaticFalse *)
 Memoryless Computation using external lower level functors.
operator() (const Array< T > &a, PoweredSum< o, abs, T > &powSum, StaticTrue *b=NULL)
 Memoryfull Computation using external lower level functors.
operator() (const Array< T > &a, StaticFalse *)
 Memoryless Computation using internal lower level functors.
operator() (const Array< T > &a, StaticTrue *b=NULL)
 Memoryfull Computation using internal lower level functors.

Protected Attributes

memory
PoweredSum< o, abs, T > mPs

Detailed Description

template<int o, bool abs = false, class T = TData, class U = TData>
class CLAM::Moment< o, abs, T, U >

Class Function that computes 'oth' order Moment using PoweredSum Class Function.

It also has associated memory so operation is not performed more than necessary.

Definition at line 375 of file BasicOps.hxx.


Constructor & Destructor Documentation

template<int o, bool abs = false, class T = TData, class U = TData>
CLAM::Moment< o, abs, T, U >::Moment (  )  [inline]

Definition at line 378 of file BasicOps.hxx.


Member Function Documentation

template<int o, bool abs = false, class T = TData, class U = TData>
U CLAM::Moment< o, abs, T, U >::operator() ( const Array< T > &  a,
StaticTrue b = NULL 
) [inline]

Memoryfull Computation using internal lower level functors.

Definition at line 397 of file BasicOps.hxx.

template<int o, bool abs = false, class T = TData, class U = TData>
U CLAM::Moment< o, abs, T, U >::operator() ( const Array< T > &  a,
StaticFalse  
) [inline]

Memoryless Computation using internal lower level functors.

Definition at line 392 of file BasicOps.hxx.

template<int o, bool abs = false, class T = TData, class U = TData>
U CLAM::Moment< o, abs, T, U >::operator() ( const Array< T > &  a,
PoweredSum< o, abs, T > &  powSum,
StaticTrue b = NULL 
) [inline]

Memoryfull Computation using external lower level functors.

Definition at line 385 of file BasicOps.hxx.

template<int o, bool abs = false, class T = TData, class U = TData>
U CLAM::Moment< o, abs, T, U >::operator() ( const Array< T > &  a,
PoweredSum< o, abs, T > &  powSum,
StaticFalse  
) [inline]

Memoryless Computation using external lower level functors.

Definition at line 380 of file BasicOps.hxx.


Member Data Documentation

template<int o, bool abs = false, class T = TData, class U = TData>
U CLAM::Moment< o, abs, T, U >::memory [protected]
template<int o, bool abs = false, class T = TData, class U = TData>
PoweredSum<o,abs,T> CLAM::Moment< o, abs, T, U >::mPs [protected]

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