CLAM-Development  1.4.0
Public Member Functions | Protected Attributes
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 ()
U operator() (const Array< T > &a, PoweredSum< o, abs, T > &powSum, StaticFalse *)
 Memoryless Computation using external lower level functors.
U operator() (const Array< T > &a, PoweredSum< o, abs, T > &powSum, StaticTrue *b=NULL)
 Memoryfull Computation using external lower level functors.
U operator() (const Array< T > &a, StaticFalse *)
 Memoryless Computation using internal lower level functors.
U operator() (const Array< T > &a, StaticTrue *b=NULL)
 Memoryfull Computation using internal lower level functors.
- Public Member Functions inherited from CLAM::BaseMemOp
 BaseMemOp ()
void Reset ()
virtual ~BaseMemOp ()

Protected Attributes

U memory
PoweredSum< o, abs, T > mPs
- Protected Attributes inherited from CLAM::BaseMemOp
bool alreadyComputed

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,
PoweredSum< o, abs, T > &  powSum,
StaticFalse  
)
inline

Memoryless Computation using external lower level functors.

Definition at line 380 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,
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,
StaticTrue b = NULL 
)
inline

Memoryfull Computation using internal lower level functors.

Definition at line 397 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: